Author: Samuel Noriega | See full post at 3blades
In [1]:
import matplotlib.image as mpimg
import matplotlib.pylab as plt
import numpy as np
%matplotlib inline
im = mpimg.imread("data/monalisa.jpg")
plt.imshow(im)
plt.show()
im.shape
Out[1]:
(199, 153, 3)
Our training dataset will be composed of pixels locations and input and pixel values as output:
In [2]:
X_train = []
Y_train = []
for i in range(im.shape[0]):
for j in range(im.shape[1]):
X_train.append([float(i),float(j)])
Y_train.append(im[i][j])
X_train = np.array(X_train)
Y_train = np.array(Y_train)
print 'Samples:', X_train.shape[0]
print '(x,y):', X_train[0],'\n', '(r,g,b):',Y_train[0]
Samples: 30447
(x,y): [ 0. 0.]
(r,g,b): [ 85 105 116]
Our objective is to train a deep MLP that is able to reconstruct the image:
In [3]:
import keras
from keras.models import Sequential
from keras.layers.core import Dense, Activation, Dropout
from keras.optimizers import Adam, RMSprop, Nadam
# Model architecture
model = Sequential()
model.add(Dense(500, input_dim=2, init='uniform'))
model.add(Activation('relu'))
model.add(Dense(500, init='uniform'))
model.add(Activation('relu'))
model.add(Dense(500, init='uniform'))
model.add(Activation('relu'))
model.add(Dense(500, init='uniform'))
model.add(Activation('relu'))
model.add(Dense(500, init='uniform'))
model.add(Activation('relu'))
model.add(Dense(3, init='uniform'))
model.add(Activation('linear'))
model.summary()
# Compile model
model.compile(loss='mean_squared_error',
optimizer=Nadam(),
metrics=['accuracy'])
# Why use NAdam Optimizer?
# Much like Adam is essentially RMSprop with momentum, Nadam is Adam RMSprop with Nesterov momentum.
Using TensorFlow backend.
____________________________________________________________________________________________________
Layer (type) Output Shape Param # Connected to
====================================================================================================
dense_1 (Dense) (None, 500) 1500 dense_input_1[0][0]
____________________________________________________________________________________________________
activation_1 (Activation) (None, 500) 0 dense_1[0][0]
____________________________________________________________________________________________________
dense_2 (Dense) (None, 500) 250500 activation_1[0][0]
____________________________________________________________________________________________________
activation_2 (Activation) (None, 500) 0 dense_2[0][0]
____________________________________________________________________________________________________
dense_3 (Dense) (None, 500) 250500 activation_2[0][0]
____________________________________________________________________________________________________
activation_3 (Activation) (None, 500) 0 dense_3[0][0]
____________________________________________________________________________________________________
dense_4 (Dense) (None, 500) 250500 activation_3[0][0]
____________________________________________________________________________________________________
activation_4 (Activation) (None, 500) 0 dense_4[0][0]
____________________________________________________________________________________________________
dense_5 (Dense) (None, 500) 250500 activation_4[0][0]
____________________________________________________________________________________________________
activation_5 (Activation) (None, 500) 0 dense_5[0][0]
____________________________________________________________________________________________________
dense_6 (Dense) (None, 3) 1503 activation_5[0][0]
____________________________________________________________________________________________________
activation_6 (Activation) (None, 3) 0 dense_6[0][0]
====================================================================================================
Total params: 1005003
____________________________________________________________________________________________________
In [4]:
# use this cell to find the best model architecture
history = model.fit(X_train, Y_train, nb_epoch=1000, shuffle=True, verbose=1, batch_size=500)
Y = model.predict(X_train, batch_size=10000)
k = 0
im_out = im[:]
for i in range(im.shape[0]):
for j in range(im.shape[1]):
im_out[i,j]= Y[k]
k += 1
print "Mona Lisa by DL"
plt.imshow(im_out)
plt.show()
Epoch 1/1000
30447/30447 [==============================] - 9s - loss: 4865.0276 - acc: 0.6618
Epoch 2/1000
30447/30447 [==============================] - 8s - loss: 4171.9923 - acc: 0.7615
Epoch 3/1000
30447/30447 [==============================] - 7s - loss: 3999.2486 - acc: 0.7617
Epoch 4/1000
30447/30447 [==============================] - 7s - loss: 4983.2478 - acc: 0.6216
Epoch 5/1000
30447/30447 [==============================] - 8s - loss: 2589.1336 - acc: 0.7674
Epoch 6/1000
30447/30447 [==============================] - 8s - loss: 2103.0996 - acc: 0.7917
Epoch 7/1000
30447/30447 [==============================] - 7s - loss: 2002.2897 - acc: 0.8113
Epoch 8/1000
30447/30447 [==============================] - 7s - loss: 1957.4699 - acc: 0.8224
Epoch 9/1000
30447/30447 [==============================] - 8s - loss: 1942.5671 - acc: 0.8339
Epoch 10/1000
30447/30447 [==============================] - 8s - loss: 1930.0230 - acc: 0.8390
Epoch 11/1000
30447/30447 [==============================] - 8s - loss: 1885.8182 - acc: 0.8487
Epoch 12/1000
30447/30447 [==============================] - 7s - loss: 1869.5725 - acc: 0.8503
Epoch 13/1000
30447/30447 [==============================] - 8s - loss: 1816.4746 - acc: 0.8496
Epoch 14/1000
30447/30447 [==============================] - 8s - loss: 1883.2188 - acc: 0.8374
Epoch 15/1000
30447/30447 [==============================] - 8s - loss: 1698.4217 - acc: 0.8520
Epoch 16/1000
30447/30447 [==============================] - 8s - loss: 1658.0344 - acc: 0.8549
Epoch 17/1000
30447/30447 [==============================] - 8s - loss: 1568.9932 - acc: 0.8585
Epoch 18/1000
30447/30447 [==============================] - 8s - loss: 1511.4613 - acc: 0.8595
Epoch 19/1000
30447/30447 [==============================] - 8s - loss: 1499.0806 - acc: 0.8635
Epoch 20/1000
30447/30447 [==============================] - 8s - loss: 1415.3749 - acc: 0.8650
Epoch 21/1000
30447/30447 [==============================] - 9s - loss: 1377.5805 - acc: 0.8675
Epoch 22/1000
30447/30447 [==============================] - 8s - loss: 1366.2414 - acc: 0.8657
Epoch 23/1000
30447/30447 [==============================] - 8s - loss: 1340.1975 - acc: 0.8647
Epoch 24/1000
30447/30447 [==============================] - 8s - loss: 1282.1589 - acc: 0.8640
Epoch 25/1000
30447/30447 [==============================] - 8s - loss: 1241.6312 - acc: 0.8672
Epoch 26/1000
30447/30447 [==============================] - 8s - loss: 1200.8934 - acc: 0.8651
Epoch 27/1000
30447/30447 [==============================] - 8s - loss: 1211.0243 - acc: 0.8623
Epoch 28/1000
30447/30447 [==============================] - 8s - loss: 1119.6533 - acc: 0.8639
Epoch 29/1000
30447/30447 [==============================] - 8s - loss: 1124.2426 - acc: 0.8573
Epoch 30/1000
30447/30447 [==============================] - 8s - loss: 1068.1034 - acc: 0.8586
Epoch 31/1000
30447/30447 [==============================] - 8s - loss: 1044.2220 - acc: 0.8460
Epoch 32/1000
30447/30447 [==============================] - 8s - loss: 1059.9772 - acc: 0.8498
Epoch 33/1000
30447/30447 [==============================] - 8s - loss: 1007.8826 - acc: 0.8506
Epoch 34/1000
30447/30447 [==============================] - 9s - loss: 954.1852 - acc: 0.8522
Epoch 35/1000
30447/30447 [==============================] - 8s - loss: 958.8160 - acc: 0.8520
Epoch 36/1000
30447/30447 [==============================] - 8s - loss: 957.7495 - acc: 0.8506
Epoch 37/1000
30447/30447 [==============================] - 8s - loss: 923.9423 - acc: 0.8505
Epoch 38/1000
30447/30447 [==============================] - 8s - loss: 903.3740 - acc: 0.8533
Epoch 39/1000
30447/30447 [==============================] - 8s - loss: 896.6704 - acc: 0.8478
Epoch 40/1000
30447/30447 [==============================] - 8s - loss: 840.0505 - acc: 0.8521
Epoch 41/1000
30447/30447 [==============================] - 9s - loss: 832.4976 - acc: 0.8531
Epoch 42/1000
30447/30447 [==============================] - 9s - loss: 862.7854 - acc: 0.8515
Epoch 43/1000
30447/30447 [==============================] - 8s - loss: 830.5320 - acc: 0.8503
Epoch 44/1000
30447/30447 [==============================] - 8s - loss: 779.4766 - acc: 0.8529
Epoch 45/1000
30447/30447 [==============================] - 8s - loss: 797.1926 - acc: 0.8529
Epoch 46/1000
30447/30447 [==============================] - 9s - loss: 822.7394 - acc: 0.8548
Epoch 47/1000
30447/30447 [==============================] - 9s - loss: 783.2619 - acc: 0.8530
Epoch 48/1000
30447/30447 [==============================] - 8s - loss: 778.4143 - acc: 0.8577
Epoch 49/1000
30447/30447 [==============================] - 9s - loss: 751.3869 - acc: 0.8553
Epoch 50/1000
30447/30447 [==============================] - 9s - loss: 751.5784 - acc: 0.8525
Epoch 51/1000
30447/30447 [==============================] - 9s - loss: 725.4785 - acc: 0.8573
Epoch 52/1000
30447/30447 [==============================] - 9s - loss: 758.7426 - acc: 0.8582
Epoch 53/1000
30447/30447 [==============================] - 8s - loss: 747.8210 - acc: 0.8579
Epoch 54/1000
30447/30447 [==============================] - 8s - loss: 723.8595 - acc: 0.8576
Epoch 55/1000
30447/30447 [==============================] - 8s - loss: 715.5666 - acc: 0.8578
Epoch 56/1000
30447/30447 [==============================] - 8s - loss: 703.6746 - acc: 0.8619
Epoch 57/1000
30447/30447 [==============================] - 9s - loss: 731.7697 - acc: 0.8624
Epoch 58/1000
30447/30447 [==============================] - 8s - loss: 681.4221 - acc: 0.8639
Epoch 59/1000
30447/30447 [==============================] - 8s - loss: 666.2071 - acc: 0.8614
Epoch 60/1000
30447/30447 [==============================] - 8s - loss: 672.2497 - acc: 0.8615
Epoch 61/1000
30447/30447 [==============================] - 10s - loss: 709.5112 - acc: 0.8582
Epoch 62/1000
30447/30447 [==============================] - 9s - loss: 706.8383 - acc: 0.8635
Epoch 63/1000
30447/30447 [==============================] - 8s - loss: 643.0971 - acc: 0.8607
Epoch 64/1000
30447/30447 [==============================] - 8s - loss: 691.4241 - acc: 0.8639
Epoch 65/1000
30447/30447 [==============================] - 9s - loss: 683.8245 - acc: 0.8624
Epoch 66/1000
30447/30447 [==============================] - 8s - loss: 644.8714 - acc: 0.8631
Epoch 67/1000
30447/30447 [==============================] - 8s - loss: 669.3980 - acc: 0.8618
Epoch 68/1000
30447/30447 [==============================] - 9s - loss: 636.6228 - acc: 0.8632
Epoch 69/1000
30447/30447 [==============================] - 9s - loss: 619.5155 - acc: 0.8633
Epoch 70/1000
30447/30447 [==============================] - 8s - loss: 643.4418 - acc: 0.8645
Epoch 71/1000
30447/30447 [==============================] - 9s - loss: 605.1222 - acc: 0.8664
Epoch 72/1000
30447/30447 [==============================] - 9s - loss: 610.3663 - acc: 0.8665
Epoch 73/1000
30447/30447 [==============================] - 9s - loss: 660.8403 - acc: 0.8665
Epoch 74/1000
30447/30447 [==============================] - 10s - loss: 573.5131 - acc: 0.8644
Epoch 75/1000
30447/30447 [==============================] - 9s - loss: 625.5595 - acc: 0.8665
Epoch 76/1000
30447/30447 [==============================] - 8s - loss: 576.6496 - acc: 0.8664
Epoch 77/1000
30447/30447 [==============================] - 9s - loss: 589.3554 - acc: 0.8682
Epoch 78/1000
30447/30447 [==============================] - 9s - loss: 591.9512 - acc: 0.8647
Epoch 79/1000
30447/30447 [==============================] - 8s - loss: 613.3800 - acc: 0.8698
Epoch 80/1000
30447/30447 [==============================] - 9s - loss: 577.5988 - acc: 0.8659
Epoch 81/1000
30447/30447 [==============================] - 8s - loss: 570.9035 - acc: 0.8682
Epoch 82/1000
30447/30447 [==============================] - 8s - loss: 575.0659 - acc: 0.8693
Epoch 83/1000
30447/30447 [==============================] - 11s - loss: 596.0281 - acc: 0.8711
Epoch 84/1000
30447/30447 [==============================] - 9s - loss: 572.2299 - acc: 0.8707
Epoch 85/1000
30447/30447 [==============================] - 9s - loss: 562.6272 - acc: 0.8690
Epoch 86/1000
30447/30447 [==============================] - 14s - loss: 597.1320 - acc: 0.8699
Epoch 87/1000
30447/30447 [==============================] - 14s - loss: 561.4165 - acc: 0.8725
Epoch 88/1000
30447/30447 [==============================] - 9s - loss: 573.8209 - acc: 0.8714
Epoch 89/1000
30447/30447 [==============================] - 9s - loss: 568.2610 - acc: 0.8699
Epoch 90/1000
30447/30447 [==============================] - 9s - loss: 530.5252 - acc: 0.8719
Epoch 91/1000
30447/30447 [==============================] - 11s - loss: 532.9783 - acc: 0.8719
Epoch 92/1000
30447/30447 [==============================] - 9s - loss: 556.2445 - acc: 0.8692
Epoch 93/1000
30447/30447 [==============================] - 9s - loss: 535.2429 - acc: 0.8691
Epoch 94/1000
30447/30447 [==============================] - 10s - loss: 530.3313 - acc: 0.8741
Epoch 95/1000
30447/30447 [==============================] - 9s - loss: 554.3620 - acc: 0.8737
Epoch 96/1000
30447/30447 [==============================] - 10s - loss: 566.4943 - acc: 0.8717
Epoch 97/1000
30447/30447 [==============================] - 10s - loss: 553.5164 - acc: 0.8768
Epoch 98/1000
30447/30447 [==============================] - 11s - loss: 521.4844 - acc: 0.8727
Epoch 99/1000
30447/30447 [==============================] - 9s - loss: 534.0768 - acc: 0.8748
Epoch 100/1000
30447/30447 [==============================] - 9s - loss: 539.4046 - acc: 0.8733
Epoch 101/1000
30447/30447 [==============================] - 9s - loss: 522.8479 - acc: 0.8726
Epoch 102/1000
30447/30447 [==============================] - 11s - loss: 498.0741 - acc: 0.8751
Epoch 103/1000
30447/30447 [==============================] - 10s - loss: 502.5964 - acc: 0.8701
Epoch 104/1000
30447/30447 [==============================] - 9s - loss: 516.7538 - acc: 0.8730
Epoch 105/1000
30447/30447 [==============================] - 9s - loss: 490.0474 - acc: 0.8768
Epoch 106/1000
30447/30447 [==============================] - 9s - loss: 520.4003 - acc: 0.8750
Epoch 107/1000
30447/30447 [==============================] - 9s - loss: 507.8330 - acc: 0.8752
Epoch 108/1000
30447/30447 [==============================] - 9s - loss: 513.3354 - acc: 0.8729
Epoch 109/1000
30447/30447 [==============================] - 9s - loss: 481.0019 - acc: 0.8751
Epoch 110/1000
30447/30447 [==============================] - 9s - loss: 533.2462 - acc: 0.8789
Epoch 111/1000
30447/30447 [==============================] - 10s - loss: 501.9004 - acc: 0.8736
Epoch 112/1000
30447/30447 [==============================] - 10s - loss: 492.1480 - acc: 0.8765
Epoch 113/1000
30447/30447 [==============================] - 9s - loss: 482.7848 - acc: 0.8756
Epoch 114/1000
30447/30447 [==============================] - 9s - loss: 482.3952 - acc: 0.8773
Epoch 115/1000
30447/30447 [==============================] - 9s - loss: 455.6804 - acc: 0.8765
Epoch 116/1000
30447/30447 [==============================] - 9s - loss: 557.8133 - acc: 0.8784
Epoch 117/1000
30447/30447 [==============================] - 9s - loss: 493.0097 - acc: 0.8791
Epoch 118/1000
30447/30447 [==============================] - 9s - loss: 490.3859 - acc: 0.8766
Epoch 119/1000
30447/30447 [==============================] - 9s - loss: 480.4019 - acc: 0.8784
Epoch 120/1000
30447/30447 [==============================] - 9s - loss: 512.0124 - acc: 0.8782
Epoch 121/1000
30447/30447 [==============================] - 10s - loss: 470.4607 - acc: 0.8829
Epoch 122/1000
30447/30447 [==============================] - 10s - loss: 500.8491 - acc: 0.8777
Epoch 123/1000
30447/30447 [==============================] - 10s - loss: 442.4271 - acc: 0.8789
Epoch 124/1000
30447/30447 [==============================] - 9s - loss: 456.8444 - acc: 0.8778
Epoch 125/1000
30447/30447 [==============================] - 10s - loss: 492.5497 - acc: 0.8807
Epoch 126/1000
30447/30447 [==============================] - 11s - loss: 477.8204 - acc: 0.8784
Epoch 127/1000
30447/30447 [==============================] - 10s - loss: 494.0348 - acc: 0.8811
Epoch 128/1000
30447/30447 [==============================] - 11s - loss: 453.6707 - acc: 0.8809
Epoch 129/1000
30447/30447 [==============================] - 10s - loss: 466.1136 - acc: 0.8808
Epoch 130/1000
30447/30447 [==============================] - 10s - loss: 485.5452 - acc: 0.8776
Epoch 131/1000
30447/30447 [==============================] - 11s - loss: 420.7825 - acc: 0.8760
Epoch 132/1000
30447/30447 [==============================] - 12s - loss: 472.7936 - acc: 0.8789
Epoch 133/1000
30447/30447 [==============================] - 14s - loss: 441.6155 - acc: 0.8799
Epoch 134/1000
30447/30447 [==============================] - 12s - loss: 450.6415 - acc: 0.8753
Epoch 135/1000
30447/30447 [==============================] - 10s - loss: 444.8879 - acc: 0.8798
Epoch 136/1000
30447/30447 [==============================] - 10s - loss: 465.4919 - acc: 0.8838
Epoch 137/1000
30447/30447 [==============================] - 10s - loss: 490.6926 - acc: 0.8782
Epoch 138/1000
30447/30447 [==============================] - 9s - loss: 455.3279 - acc: 0.8819
Epoch 139/1000
30447/30447 [==============================] - 12s - loss: 434.7051 - acc: 0.8818
Epoch 140/1000
30447/30447 [==============================] - 10s - loss: 452.6824 - acc: 0.8776
Epoch 141/1000
30447/30447 [==============================] - 10s - loss: 443.0033 - acc: 0.8819
Epoch 142/1000
30447/30447 [==============================] - 11s - loss: 412.6632 - acc: 0.8814
Epoch 143/1000
30447/30447 [==============================] - 10s - loss: 452.6190 - acc: 0.8826
Epoch 144/1000
30447/30447 [==============================] - 9s - loss: 474.8827 - acc: 0.8842
Epoch 145/1000
30447/30447 [==============================] - 9s - loss: 443.6931 - acc: 0.8850
Epoch 146/1000
30447/30447 [==============================] - 10s - loss: 441.0377 - acc: 0.8845
Epoch 147/1000
30447/30447 [==============================] - 10s - loss: 401.6456 - acc: 0.8855
Epoch 148/1000
30447/30447 [==============================] - 10s - loss: 419.2480 - acc: 0.8817
Epoch 149/1000
30447/30447 [==============================] - 10s - loss: 421.4738 - acc: 0.8868
Epoch 150/1000
30447/30447 [==============================] - 11s - loss: 449.2713 - acc: 0.8823
Epoch 151/1000
30447/30447 [==============================] - 10s - loss: 416.2256 - acc: 0.8848
Epoch 152/1000
30447/30447 [==============================] - 11s - loss: 429.1565 - acc: 0.8855
Epoch 153/1000
30447/30447 [==============================] - 9s - loss: 428.2082 - acc: 0.8848
Epoch 154/1000
30447/30447 [==============================] - 9s - loss: 417.4790 - acc: 0.8841
Epoch 155/1000
30447/30447 [==============================] - 9s - loss: 442.3529 - acc: 0.8850
Epoch 156/1000
30447/30447 [==============================] - 10s - loss: 429.8996 - acc: 0.8867
Epoch 157/1000
30447/30447 [==============================] - 9s - loss: 411.8661 - acc: 0.8840
Epoch 158/1000
30447/30447 [==============================] - 12s - loss: 409.9481 - acc: 0.8846
Epoch 159/1000
30447/30447 [==============================] - 9s - loss: 401.7481 - acc: 0.8892
Epoch 160/1000
30447/30447 [==============================] - 9s - loss: 429.4471 - acc: 0.8874
Epoch 161/1000
30447/30447 [==============================] - 9s - loss: 414.5424 - acc: 0.8874
Epoch 162/1000
30447/30447 [==============================] - 9s - loss: 417.3147 - acc: 0.8869
Epoch 163/1000
30447/30447 [==============================] - 9s - loss: 382.7476 - acc: 0.8856
Epoch 164/1000
30447/30447 [==============================] - 9s - loss: 409.2946 - acc: 0.8853
Epoch 165/1000
30447/30447 [==============================] - 10s - loss: 398.2255 - acc: 0.8849
Epoch 166/1000
30447/30447 [==============================] - 9s - loss: 400.9570 - acc: 0.8893
Epoch 167/1000
30447/30447 [==============================] - 9s - loss: 429.0814 - acc: 0.8867
Epoch 168/1000
30447/30447 [==============================] - 10s - loss: 414.4678 - acc: 0.8890
Epoch 169/1000
30447/30447 [==============================] - 11s - loss: 410.2980 - acc: 0.8863
Epoch 170/1000
30447/30447 [==============================] - 10s - loss: 403.3148 - acc: 0.8863
Epoch 171/1000
30447/30447 [==============================] - 10s - loss: 406.4215 - acc: 0.8845
Epoch 172/1000
30447/30447 [==============================] - 9s - loss: 427.1177 - acc: 0.8851
Epoch 173/1000
30447/30447 [==============================] - 9s - loss: 411.5335 - acc: 0.8891
Epoch 174/1000
30447/30447 [==============================] - 9s - loss: 419.2413 - acc: 0.8861
Epoch 175/1000
30447/30447 [==============================] - 10s - loss: 404.4253 - acc: 0.8861
Epoch 176/1000
30447/30447 [==============================] - 9s - loss: 378.3135 - acc: 0.8887
Epoch 177/1000
30447/30447 [==============================] - 9s - loss: 394.5108 - acc: 0.8873
Epoch 178/1000
30447/30447 [==============================] - 9s - loss: 382.4146 - acc: 0.8872
Epoch 179/1000
30447/30447 [==============================] - 13s - loss: 408.6899 - acc: 0.8905
Epoch 180/1000
30447/30447 [==============================] - 10s - loss: 389.4661 - acc: 0.8897
Epoch 181/1000
30447/30447 [==============================] - 9s - loss: 373.0477 - acc: 0.8912
Epoch 182/1000
30447/30447 [==============================] - 10s - loss: 386.4648 - acc: 0.8881
Epoch 183/1000
30447/30447 [==============================] - 9s - loss: 384.7067 - acc: 0.8903
Epoch 184/1000
30447/30447 [==============================] - 11s - loss: 409.2080 - acc: 0.8877
Epoch 185/1000
30447/30447 [==============================] - 10s - loss: 400.8572 - acc: 0.8898
Epoch 186/1000
30447/30447 [==============================] - 10s - loss: 371.2899 - acc: 0.8896
Epoch 187/1000
30447/30447 [==============================] - 10s - loss: 427.9709 - acc: 0.8874
Epoch 188/1000
30447/30447 [==============================] - 10s - loss: 381.8795 - acc: 0.8902
Epoch 189/1000
30447/30447 [==============================] - 10s - loss: 422.0327 - acc: 0.8866
Epoch 190/1000
30447/30447 [==============================] - 10s - loss: 345.5537 - acc: 0.8915
Epoch 191/1000
30447/30447 [==============================] - 13s - loss: 390.2348 - acc: 0.8859
Epoch 192/1000
30447/30447 [==============================] - 10s - loss: 406.4450 - acc: 0.8909
Epoch 193/1000
30447/30447 [==============================] - 10s - loss: 355.3193 - acc: 0.8910
Epoch 194/1000
30447/30447 [==============================] - 9s - loss: 364.7715 - acc: 0.8880
Epoch 195/1000
30447/30447 [==============================] - 10s - loss: 366.5926 - acc: 0.8904
Epoch 196/1000
30447/30447 [==============================] - 10s - loss: 370.1248 - acc: 0.8907
Epoch 197/1000
30447/30447 [==============================] - 11s - loss: 367.2434 - acc: 0.8916
Epoch 198/1000
30447/30447 [==============================] - 10s - loss: 354.6133 - acc: 0.8904
Epoch 199/1000
30447/30447 [==============================] - 10s - loss: 384.4779 - acc: 0.8910
Epoch 200/1000
30447/30447 [==============================] - 12s - loss: 388.3345 - acc: 0.8912
Epoch 201/1000
30447/30447 [==============================] - 10s - loss: 373.6417 - acc: 0.8948
Epoch 202/1000
30447/30447 [==============================] - 11s - loss: 362.6233 - acc: 0.8939
Epoch 203/1000
30447/30447 [==============================] - 12s - loss: 375.2707 - acc: 0.8930
Epoch 204/1000
30447/30447 [==============================] - 11s - loss: 365.7976 - acc: 0.8926
Epoch 205/1000
30447/30447 [==============================] - 10s - loss: 344.2454 - acc: 0.8938
Epoch 206/1000
30447/30447 [==============================] - 9s - loss: 358.5517 - acc: 0.8890
Epoch 207/1000
30447/30447 [==============================] - 10s - loss: 366.9147 - acc: 0.8917
Epoch 208/1000
30447/30447 [==============================] - 10s - loss: 374.9837 - acc: 0.8946
Epoch 209/1000
30447/30447 [==============================] - 10s - loss: 383.6279 - acc: 0.8907
Epoch 210/1000
30447/30447 [==============================] - 11s - loss: 366.2213 - acc: 0.8905
Epoch 211/1000
30447/30447 [==============================] - 11s - loss: 355.1367 - acc: 0.8938
Epoch 212/1000
30447/30447 [==============================] - 9s - loss: 365.5325 - acc: 0.8891
Epoch 213/1000
30447/30447 [==============================] - 9s - loss: 380.7200 - acc: 0.8957
Epoch 214/1000
30447/30447 [==============================] - 9s - loss: 335.6114 - acc: 0.8919
Epoch 215/1000
30447/30447 [==============================] - 9s - loss: 365.2225 - acc: 0.8913
Epoch 216/1000
30447/30447 [==============================] - 9s - loss: 377.9337 - acc: 0.8926
Epoch 217/1000
30447/30447 [==============================] - 9s - loss: 351.8292 - acc: 0.8933
Epoch 218/1000
30447/30447 [==============================] - 9s - loss: 333.1252 - acc: 0.8963
Epoch 219/1000
30447/30447 [==============================] - 10s - loss: 370.5430 - acc: 0.8942
Epoch 220/1000
30447/30447 [==============================] - 9s - loss: 358.8304 - acc: 0.8957
Epoch 221/1000
30447/30447 [==============================] - 9s - loss: 354.4845 - acc: 0.8955
Epoch 222/1000
30447/30447 [==============================] - 9s - loss: 336.5021 - acc: 0.8901
Epoch 223/1000
30447/30447 [==============================] - 9s - loss: 350.8223 - acc: 0.8948
Epoch 224/1000
30447/30447 [==============================] - 9s - loss: 378.9740 - acc: 0.8950
Epoch 225/1000
30447/30447 [==============================] - 9s - loss: 342.6693 - acc: 0.8926
Epoch 226/1000
30447/30447 [==============================] - 9s - loss: 344.6230 - acc: 0.8935
Epoch 227/1000
30447/30447 [==============================] - 9s - loss: 331.4584 - acc: 0.8947
Epoch 228/1000
30447/30447 [==============================] - 9s - loss: 379.7971 - acc: 0.8960
Epoch 229/1000
30447/30447 [==============================] - 9s - loss: 355.6822 - acc: 0.8941
Epoch 230/1000
30447/30447 [==============================] - 9s - loss: 360.0757 - acc: 0.8948
Epoch 231/1000
30447/30447 [==============================] - 9s - loss: 349.3369 - acc: 0.8923
Epoch 232/1000
30447/30447 [==============================] - 9s - loss: 379.0891 - acc: 0.8953
Epoch 233/1000
30447/30447 [==============================] - 9s - loss: 362.3243 - acc: 0.8930
Epoch 234/1000
30447/30447 [==============================] - 10s - loss: 314.4172 - acc: 0.8951
Epoch 235/1000
30447/30447 [==============================] - 10s - loss: 321.8569 - acc: 0.8962
Epoch 236/1000
30447/30447 [==============================] - 10s - loss: 362.1647 - acc: 0.8953
Epoch 237/1000
30447/30447 [==============================] - 10s - loss: 347.1585 - acc: 0.8987
Epoch 238/1000
30447/30447 [==============================] - 10s - loss: 334.7855 - acc: 0.8941
Epoch 239/1000
30447/30447 [==============================] - 14s - loss: 329.5316 - acc: 0.8962
Epoch 240/1000
30447/30447 [==============================] - 9s - loss: 327.5344 - acc: 0.8974
Epoch 241/1000
30447/30447 [==============================] - 10s - loss: 340.1717 - acc: 0.8952
Epoch 242/1000
30447/30447 [==============================] - 9s - loss: 339.8499 - acc: 0.8968
Epoch 243/1000
30447/30447 [==============================] - 10s - loss: 361.0737 - acc: 0.8932
Epoch 244/1000
30447/30447 [==============================] - 10s - loss: 350.1109 - acc: 0.8937
Epoch 245/1000
30447/30447 [==============================] - 9s - loss: 325.8948 - acc: 0.8973
Epoch 246/1000
30447/30447 [==============================] - 10s - loss: 342.6373 - acc: 0.8966
Epoch 247/1000
30447/30447 [==============================] - 13s - loss: 317.8441 - acc: 0.8968
Epoch 248/1000
30447/30447 [==============================] - 12s - loss: 350.8092 - acc: 0.8962
Epoch 249/1000
30447/30447 [==============================] - 12s - loss: 351.9702 - acc: 0.8944
Epoch 250/1000
30447/30447 [==============================] - 12s - loss: 327.7500 - acc: 0.8969
Epoch 251/1000
30447/30447 [==============================] - 10s - loss: 363.5487 - acc: 0.8975
Epoch 252/1000
30447/30447 [==============================] - 13s - loss: 345.7578 - acc: 0.8947
Epoch 253/1000
30447/30447 [==============================] - 12s - loss: 319.3646 - acc: 0.8997
Epoch 254/1000
30447/30447 [==============================] - 12s - loss: 327.7210 - acc: 0.8990
Epoch 255/1000
30447/30447 [==============================] - 10s - loss: 304.9235 - acc: 0.8990
Epoch 256/1000
30447/30447 [==============================] - 11s - loss: 340.3127 - acc: 0.8965
Epoch 257/1000
30447/30447 [==============================] - 10s - loss: 322.6180 - acc: 0.8999
Epoch 258/1000
30447/30447 [==============================] - 10s - loss: 327.0067 - acc: 0.9004
Epoch 259/1000
30447/30447 [==============================] - 10s - loss: 329.0079 - acc: 0.8965
Epoch 260/1000
30447/30447 [==============================] - 12s - loss: 349.0321 - acc: 0.8967
Epoch 261/1000
30447/30447 [==============================] - 13s - loss: 339.2678 - acc: 0.8945
Epoch 262/1000
30447/30447 [==============================] - 11s - loss: 337.5435 - acc: 0.8991
Epoch 263/1000
30447/30447 [==============================] - 10s - loss: 312.7937 - acc: 0.8999
Epoch 264/1000
30447/30447 [==============================] - 11s - loss: 341.5477 - acc: 0.8980
Epoch 265/1000
30447/30447 [==============================] - 11s - loss: 332.1064 - acc: 0.9018
Epoch 266/1000
30447/30447 [==============================] - 11s - loss: 323.2080 - acc: 0.8975
Epoch 267/1000
30447/30447 [==============================] - 11s - loss: 315.3632 - acc: 0.8995
Epoch 268/1000
30447/30447 [==============================] - 14s - loss: 327.4978 - acc: 0.8977
Epoch 269/1000
30447/30447 [==============================] - 13s - loss: 333.4069 - acc: 0.8987
Epoch 270/1000
30447/30447 [==============================] - 12s - loss: 340.8953 - acc: 0.9007
Epoch 271/1000
30447/30447 [==============================] - 11s - loss: 324.8493 - acc: 0.8966
Epoch 272/1000
30447/30447 [==============================] - 11s - loss: 326.3551 - acc: 0.8992
Epoch 273/1000
30447/30447 [==============================] - 11s - loss: 298.9176 - acc: 0.8962
Epoch 274/1000
30447/30447 [==============================] - 10s - loss: 333.0814 - acc: 0.9002
Epoch 275/1000
30447/30447 [==============================] - 9s - loss: 306.2314 - acc: 0.8966
Epoch 276/1000
30447/30447 [==============================] - 9s - loss: 315.0246 - acc: 0.8996
Epoch 277/1000
30447/30447 [==============================] - 10s - loss: 317.6491 - acc: 0.9011
Epoch 278/1000
30447/30447 [==============================] - 10s - loss: 335.7018 - acc: 0.8984
Epoch 279/1000
30447/30447 [==============================] - 10s - loss: 312.2375 - acc: 0.8988
Epoch 280/1000
30447/30447 [==============================] - 11s - loss: 310.1125 - acc: 0.9033
Epoch 281/1000
30447/30447 [==============================] - 10s - loss: 307.8084 - acc: 0.9001
Epoch 282/1000
30447/30447 [==============================] - 9s - loss: 319.7690 - acc: 0.9003
Epoch 283/1000
30447/30447 [==============================] - 10s - loss: 305.6520 - acc: 0.9002
Epoch 284/1000
30447/30447 [==============================] - 11s - loss: 313.3453 - acc: 0.9043
Epoch 285/1000
30447/30447 [==============================] - 11s - loss: 318.0829 - acc: 0.9027
Epoch 286/1000
30447/30447 [==============================] - 13s - loss: 324.2129 - acc: 0.9010
Epoch 287/1000
30447/30447 [==============================] - 12s - loss: 320.8882 - acc: 0.9034
Epoch 288/1000
30447/30447 [==============================] - 11s - loss: 351.5324 - acc: 0.9007
Epoch 289/1000
30447/30447 [==============================] - 12s - loss: 307.9806 - acc: 0.8996
Epoch 290/1000
30447/30447 [==============================] - 10s - loss: 320.6335 - acc: 0.8997
Epoch 291/1000
30447/30447 [==============================] - 10s - loss: 291.0457 - acc: 0.9001
Epoch 292/1000
30447/30447 [==============================] - 10s - loss: 307.5005 - acc: 0.8985
Epoch 293/1000
30447/30447 [==============================] - 11s - loss: 324.0945 - acc: 0.9004
Epoch 294/1000
30447/30447 [==============================] - 10s - loss: 313.2446 - acc: 0.8981
Epoch 295/1000
30447/30447 [==============================] - 10s - loss: 295.0921 - acc: 0.9008
Epoch 296/1000
30447/30447 [==============================] - 11s - loss: 309.9432 - acc: 0.9010
Epoch 297/1000
30447/30447 [==============================] - 10s - loss: 313.1417 - acc: 0.9019
Epoch 298/1000
30447/30447 [==============================] - 10s - loss: 292.1076 - acc: 0.9025
Epoch 299/1000
30447/30447 [==============================] - 11s - loss: 309.5179 - acc: 0.9030
Epoch 300/1000
30447/30447 [==============================] - 10s - loss: 294.5079 - acc: 0.9012
Epoch 301/1000
30447/30447 [==============================] - 11s - loss: 307.1505 - acc: 0.9009
Epoch 302/1000
30447/30447 [==============================] - 10s - loss: 316.7249 - acc: 0.9025
Epoch 303/1000
30447/30447 [==============================] - 11s - loss: 300.2730 - acc: 0.8985
Epoch 304/1000
30447/30447 [==============================] - 10s - loss: 321.8498 - acc: 0.9035
Epoch 305/1000
30447/30447 [==============================] - 10s - loss: 304.1853 - acc: 0.9025
Epoch 306/1000
30447/30447 [==============================] - 10s - loss: 318.3524 - acc: 0.9003
Epoch 307/1000
30447/30447 [==============================] - 10s - loss: 310.5050 - acc: 0.9018
Epoch 308/1000
30447/30447 [==============================] - 10s - loss: 317.2560 - acc: 0.8980
Epoch 309/1000
30447/30447 [==============================] - 11s - loss: 307.4188 - acc: 0.9013
Epoch 310/1000
30447/30447 [==============================] - 10s - loss: 319.7134 - acc: 0.8985
Epoch 311/1000
30447/30447 [==============================] - 11s - loss: 315.1293 - acc: 0.9026
Epoch 312/1000
30447/30447 [==============================] - 12s - loss: 307.8408 - acc: 0.9015
Epoch 313/1000
30447/30447 [==============================] - 12s - loss: 292.4438 - acc: 0.8983
Epoch 314/1000
30447/30447 [==============================] - 11s - loss: 296.4310 - acc: 0.9027
Epoch 315/1000
30447/30447 [==============================] - 10s - loss: 305.8104 - acc: 0.8986
Epoch 316/1000
30447/30447 [==============================] - 11s - loss: 332.9011 - acc: 0.9035
Epoch 317/1000
30447/30447 [==============================] - 10s - loss: 297.2744 - acc: 0.8991
Epoch 318/1000
30447/30447 [==============================] - 11s - loss: 309.9541 - acc: 0.9006
Epoch 319/1000
30447/30447 [==============================] - 11s - loss: 298.6694 - acc: 0.8989
Epoch 320/1000
30447/30447 [==============================] - 11s - loss: 296.9283 - acc: 0.9037
Epoch 321/1000
30447/30447 [==============================] - 12s - loss: 311.5709 - acc: 0.9027
Epoch 322/1000
30447/30447 [==============================] - 11s - loss: 303.8290 - acc: 0.9031
Epoch 323/1000
30447/30447 [==============================] - 11s - loss: 320.5239 - acc: 0.8992
Epoch 324/1000
30447/30447 [==============================] - 11s - loss: 302.4021 - acc: 0.9004
Epoch 325/1000
30447/30447 [==============================] - 12s - loss: 302.0516 - acc: 0.8994
Epoch 326/1000
30447/30447 [==============================] - 11s - loss: 291.3526 - acc: 0.8980
Epoch 327/1000
30447/30447 [==============================] - 11s - loss: 303.9573 - acc: 0.9038
Epoch 328/1000
30447/30447 [==============================] - 11s - loss: 306.7564 - acc: 0.8986
Epoch 329/1000
30447/30447 [==============================] - 13s - loss: 299.7612 - acc: 0.9009
Epoch 330/1000
30447/30447 [==============================] - 11s - loss: 286.4599 - acc: 0.9048
Epoch 331/1000
30447/30447 [==============================] - 14s - loss: 303.4355 - acc: 0.9050
Epoch 332/1000
30447/30447 [==============================] - 11s - loss: 282.3443 - acc: 0.9086
Epoch 333/1000
30447/30447 [==============================] - 11s - loss: 286.5228 - acc: 0.9016
Epoch 334/1000
30447/30447 [==============================] - 13s - loss: 302.8994 - acc: 0.9060
Epoch 335/1000
30447/30447 [==============================] - 10s - loss: 298.1583 - acc: 0.9015
Epoch 336/1000
30447/30447 [==============================] - 10s - loss: 300.1169 - acc: 0.8984
Epoch 337/1000
30447/30447 [==============================] - 11s - loss: 296.5419 - acc: 0.9001
Epoch 338/1000
30447/30447 [==============================] - 11s - loss: 299.9747 - acc: 0.9022
Epoch 339/1000
30447/30447 [==============================] - 10s - loss: 314.3220 - acc: 0.8994
Epoch 340/1000
30447/30447 [==============================] - 10s - loss: 302.5363 - acc: 0.9030
Epoch 341/1000
30447/30447 [==============================] - 11s - loss: 266.9449 - acc: 0.9031
Epoch 342/1000
30447/30447 [==============================] - 11s - loss: 310.8616 - acc: 0.9006
Epoch 343/1000
30447/30447 [==============================] - 10s - loss: 267.5107 - acc: 0.9019
Epoch 344/1000
30447/30447 [==============================] - 10s - loss: 273.7534 - acc: 0.9028
Epoch 345/1000
30447/30447 [==============================] - 11s - loss: 333.0288 - acc: 0.8977
Epoch 346/1000
30447/30447 [==============================] - 11s - loss: 286.3597 - acc: 0.9013
Epoch 347/1000
30447/30447 [==============================] - 11s - loss: 308.8735 - acc: 0.9039
Epoch 348/1000
30447/30447 [==============================] - 11s - loss: 264.7655 - acc: 0.9026
Epoch 349/1000
30447/30447 [==============================] - 11s - loss: 279.6780 - acc: 0.9013
Epoch 350/1000
30447/30447 [==============================] - 11s - loss: 285.5933 - acc: 0.9035
Epoch 351/1000
30447/30447 [==============================] - 11s - loss: 319.3244 - acc: 0.8988
Epoch 352/1000
30447/30447 [==============================] - 11s - loss: 302.5558 - acc: 0.9032
Epoch 353/1000
30447/30447 [==============================] - 13s - loss: 263.7556 - acc: 0.9014
Epoch 354/1000
30447/30447 [==============================] - 12s - loss: 313.6395 - acc: 0.9038
Epoch 355/1000
30447/30447 [==============================] - 13s - loss: 293.6192 - acc: 0.8986
Epoch 356/1000
30447/30447 [==============================] - 11s - loss: 296.0315 - acc: 0.9001
Epoch 357/1000
30447/30447 [==============================] - 11s - loss: 286.7463 - acc: 0.9012
Epoch 358/1000
30447/30447 [==============================] - 12s - loss: 275.1672 - acc: 0.9050
Epoch 359/1000
30447/30447 [==============================] - 13s - loss: 288.5435 - acc: 0.9012
Epoch 360/1000
30447/30447 [==============================] - 12s - loss: 287.5288 - acc: 0.9027
Epoch 361/1000
30447/30447 [==============================] - 11s - loss: 297.8086 - acc: 0.9028
Epoch 362/1000
30447/30447 [==============================] - 12s - loss: 281.7442 - acc: 0.9012
Epoch 363/1000
30447/30447 [==============================] - 12s - loss: 317.4023 - acc: 0.9002
Epoch 364/1000
30447/30447 [==============================] - 12s - loss: 291.7319 - acc: 0.9025
Epoch 365/1000
30447/30447 [==============================] - 16s - loss: 296.1545 - acc: 0.9020
Epoch 366/1000
30447/30447 [==============================] - 12s - loss: 288.5901 - acc: 0.9038
Epoch 367/1000
30447/30447 [==============================] - 12s - loss: 305.1804 - acc: 0.9026
Epoch 368/1000
30447/30447 [==============================] - 11s - loss: 277.4984 - acc: 0.9040
Epoch 369/1000
30447/30447 [==============================] - 12s - loss: 277.0980 - acc: 0.9041
Epoch 370/1000
30447/30447 [==============================] - 13s - loss: 264.0979 - acc: 0.9035
Epoch 371/1000
30447/30447 [==============================] - 12s - loss: 301.3087 - acc: 0.9016
Epoch 372/1000
30447/30447 [==============================] - 13s - loss: 273.8876 - acc: 0.9034
Epoch 373/1000
30447/30447 [==============================] - 14s - loss: 295.0405 - acc: 0.9019
Epoch 374/1000
30447/30447 [==============================] - 15s - loss: 250.5490 - acc: 0.9032
Epoch 375/1000
30447/30447 [==============================] - 17s - loss: 279.2809 - acc: 0.9037
Epoch 376/1000
30447/30447 [==============================] - 18s - loss: 293.1774 - acc: 0.9020
Epoch 377/1000
30447/30447 [==============================] - 16s - loss: 284.5543 - acc: 0.9035
Epoch 378/1000
30447/30447 [==============================] - 15s - loss: 291.4441 - acc: 0.9041
Epoch 379/1000
30447/30447 [==============================] - 14s - loss: 275.3862 - acc: 0.9027
Epoch 380/1000
30447/30447 [==============================] - 12s - loss: 281.4176 - acc: 0.9020
Epoch 381/1000
30447/30447 [==============================] - 11s - loss: 267.4504 - acc: 0.9043
Epoch 382/1000
30447/30447 [==============================] - 11s - loss: 291.2194 - acc: 0.9001
Epoch 383/1000
30447/30447 [==============================] - 11s - loss: 296.0155 - acc: 0.9048
Epoch 384/1000
30447/30447 [==============================] - 11s - loss: 256.7639 - acc: 0.9062
Epoch 385/1000
30447/30447 [==============================] - 11s - loss: 300.0977 - acc: 0.9043
Epoch 386/1000
30447/30447 [==============================] - 11s - loss: 278.5457 - acc: 0.9012
Epoch 387/1000
30447/30447 [==============================] - 11s - loss: 267.6968 - acc: 0.9069
Epoch 388/1000
30447/30447 [==============================] - 11s - loss: 297.2497 - acc: 0.9018
Epoch 389/1000
30447/30447 [==============================] - 11s - loss: 291.6874 - acc: 0.9009
Epoch 390/1000
30447/30447 [==============================] - 12s - loss: 297.5173 - acc: 0.9015
Epoch 391/1000
30447/30447 [==============================] - 15s - loss: 298.3719 - acc: 0.9048
Epoch 392/1000
30447/30447 [==============================] - 15s - loss: 280.9173 - acc: 0.9024
Epoch 393/1000
30447/30447 [==============================] - 12s - loss: 296.0873 - acc: 0.9042
Epoch 394/1000
30447/30447 [==============================] - 12s - loss: 264.3553 - acc: 0.9022
Epoch 395/1000
30447/30447 [==============================] - 12s - loss: 266.2249 - acc: 0.9053
Epoch 396/1000
30447/30447 [==============================] - 14s - loss: 280.8809 - acc: 0.9019
Epoch 397/1000
30447/30447 [==============================] - 13s - loss: 286.8826 - acc: 0.9047
Epoch 398/1000
30447/30447 [==============================] - 13s - loss: 273.1230 - acc: 0.9029
Epoch 399/1000
30447/30447 [==============================] - 15s - loss: 271.8965 - acc: 0.9028
Epoch 400/1000
30447/30447 [==============================] - 15s - loss: 273.5734 - acc: 0.9050
Epoch 401/1000
30447/30447 [==============================] - 14s - loss: 281.4203 - acc: 0.9022
Epoch 402/1000
30447/30447 [==============================] - 18s - loss: 293.8438 - acc: 0.9034
Epoch 403/1000
30447/30447 [==============================] - 14s - loss: 288.4748 - acc: 0.9056
Epoch 404/1000
30447/30447 [==============================] - 13s - loss: 273.5850 - acc: 0.9001
Epoch 405/1000
30447/30447 [==============================] - 12s - loss: 259.4072 - acc: 0.9064
Epoch 406/1000
30447/30447 [==============================] - 12s - loss: 280.4502 - acc: 0.9059
Epoch 407/1000
30447/30447 [==============================] - 17s - loss: 286.3404 - acc: 0.9050
Epoch 408/1000
30447/30447 [==============================] - 15s - loss: 293.2946 - acc: 0.9028
Epoch 409/1000
30447/30447 [==============================] - 13s - loss: 280.2025 - acc: 0.9029
Epoch 410/1000
30447/30447 [==============================] - 13s - loss: 274.1670 - acc: 0.9061
Epoch 411/1000
30447/30447 [==============================] - 13s - loss: 267.4890 - acc: 0.9067
Epoch 412/1000
30447/30447 [==============================] - 12s - loss: 290.2988 - acc: 0.9039
Epoch 413/1000
30447/30447 [==============================] - 13s - loss: 291.3821 - acc: 0.9039
Epoch 414/1000
30447/30447 [==============================] - 12s - loss: 277.7907 - acc: 0.9019
Epoch 415/1000
30447/30447 [==============================] - 12s - loss: 271.0079 - acc: 0.9081
Epoch 416/1000
30447/30447 [==============================] - 12s - loss: 258.4383 - acc: 0.9078
Epoch 417/1000
30447/30447 [==============================] - 12s - loss: 285.9397 - acc: 0.9045
Epoch 418/1000
30447/30447 [==============================] - 13s - loss: 273.4656 - acc: 0.9001
Epoch 419/1000
30447/30447 [==============================] - 12s - loss: 275.6152 - acc: 0.9057
Epoch 420/1000
30447/30447 [==============================] - 14s - loss: 259.2453 - acc: 0.9070
Epoch 421/1000
30447/30447 [==============================] - 13s - loss: 270.9919 - acc: 0.9043
Epoch 422/1000
30447/30447 [==============================] - 12s - loss: 280.6026 - acc: 0.9028
Epoch 423/1000
30447/30447 [==============================] - 17s - loss: 274.7585 - acc: 0.9005
Epoch 424/1000
30447/30447 [==============================] - 14s - loss: 280.8991 - acc: 0.9052
Epoch 425/1000
30447/30447 [==============================] - 16s - loss: 263.3316 - acc: 0.9058
Epoch 426/1000
30447/30447 [==============================] - 16s - loss: 268.4805 - acc: 0.9073
Epoch 427/1000
30447/30447 [==============================] - 17s - loss: 289.2809 - acc: 0.9011
Epoch 428/1000
30447/30447 [==============================] - 14s - loss: 265.2688 - acc: 0.9057
Epoch 429/1000
30447/30447 [==============================] - 17s - loss: 265.0094 - acc: 0.9078
Epoch 430/1000
30447/30447 [==============================] - 13s - loss: 283.5404 - acc: 0.9060
Epoch 431/1000
30447/30447 [==============================] - 13s - loss: 255.8377 - acc: 0.9046
Epoch 432/1000
30447/30447 [==============================] - 13s - loss: 274.8737 - acc: 0.9063
Epoch 433/1000
30447/30447 [==============================] - 14s - loss: 266.6872 - acc: 0.9076
Epoch 434/1000
30447/30447 [==============================] - 12s - loss: 279.7363 - acc: 0.9032
Epoch 435/1000
30447/30447 [==============================] - 14s - loss: 283.1703 - acc: 0.9043
Epoch 436/1000
30447/30447 [==============================] - 15s - loss: 268.0249 - acc: 0.9030
Epoch 437/1000
30447/30447 [==============================] - 13s - loss: 266.6593 - acc: 0.9073
Epoch 438/1000
30447/30447 [==============================] - 13s - loss: 281.3164 - acc: 0.9059
Epoch 439/1000
30447/30447 [==============================] - 14s - loss: 277.1790 - acc: 0.9030
Epoch 440/1000
30447/30447 [==============================] - 14s - loss: 290.2013 - acc: 0.9049
Epoch 441/1000
30447/30447 [==============================] - 15s - loss: 271.2280 - acc: 0.9028
Epoch 442/1000
30447/30447 [==============================] - 12s - loss: 255.6976 - acc: 0.9093
Epoch 443/1000
30447/30447 [==============================] - 12s - loss: 270.0071 - acc: 0.9025
Epoch 444/1000
30447/30447 [==============================] - 12s - loss: 262.8721 - acc: 0.9057
Epoch 445/1000
30447/30447 [==============================] - 12s - loss: 258.2327 - acc: 0.9061
Epoch 446/1000
30447/30447 [==============================] - 13s - loss: 272.1747 - acc: 0.9052
Epoch 447/1000
30447/30447 [==============================] - 13s - loss: 283.0071 - acc: 0.9041
Epoch 448/1000
30447/30447 [==============================] - 14s - loss: 263.5230 - acc: 0.9061
Epoch 449/1000
30447/30447 [==============================] - 15s - loss: 292.3746 - acc: 0.9082
Epoch 450/1000
30447/30447 [==============================] - 14s - loss: 278.4102 - acc: 0.9045
Epoch 451/1000
30447/30447 [==============================] - 13s - loss: 248.7897 - acc: 0.9057
Epoch 452/1000
30447/30447 [==============================] - 13s - loss: 254.4931 - acc: 0.9080
Epoch 453/1000
30447/30447 [==============================] - 14s - loss: 292.3391 - acc: 0.9036
Epoch 454/1000
30447/30447 [==============================] - 14s - loss: 285.0645 - acc: 0.9052
Epoch 455/1000
30447/30447 [==============================] - 14s - loss: 273.1600 - acc: 0.9077
Epoch 456/1000
30447/30447 [==============================] - 15s - loss: 262.0431 - acc: 0.9044
Epoch 457/1000
30447/30447 [==============================] - 16s - loss: 263.2290 - acc: 0.9042
Epoch 458/1000
30447/30447 [==============================] - 16s - loss: 265.6713 - acc: 0.9060
Epoch 459/1000
30447/30447 [==============================] - 18s - loss: 283.9917 - acc: 0.9035
Epoch 460/1000
30447/30447 [==============================] - 16s - loss: 266.2217 - acc: 0.9045
Epoch 461/1000
30447/30447 [==============================] - 19s - loss: 277.6753 - acc: 0.9063
Epoch 462/1000
30447/30447 [==============================] - 17s - loss: 265.7673 - acc: 0.9062
Epoch 463/1000
30447/30447 [==============================] - 14s - loss: 253.2737 - acc: 0.9090
Epoch 464/1000
30447/30447 [==============================] - 14s - loss: 267.0457 - acc: 0.9051
Epoch 465/1000
30447/30447 [==============================] - 14s - loss: 243.9409 - acc: 0.9053
Epoch 466/1000
30447/30447 [==============================] - 15s - loss: 262.6553 - acc: 0.9065
Epoch 467/1000
30447/30447 [==============================] - 14s - loss: 301.5036 - acc: 0.9038
Epoch 468/1000
30447/30447 [==============================] - 13s - loss: 254.6615 - acc: 0.9050
Epoch 469/1000
30447/30447 [==============================] - 13s - loss: 262.2872 - acc: 0.9039
Epoch 470/1000
30447/30447 [==============================] - 13s - loss: 259.2404 - acc: 0.9076
Epoch 471/1000
30447/30447 [==============================] - 13s - loss: 261.8304 - acc: 0.9080
Epoch 472/1000
30447/30447 [==============================] - 13s - loss: 265.2618 - acc: 0.9030
Epoch 473/1000
30447/30447 [==============================] - 23s - loss: 261.5088 - acc: 0.9032
Epoch 474/1000
30447/30447 [==============================] - 16s - loss: 269.5395 - acc: 0.9065
Epoch 475/1000
30447/30447 [==============================] - 15s - loss: 278.6165 - acc: 0.9045
Epoch 476/1000
30447/30447 [==============================] - 16s - loss: 258.5305 - acc: 0.9087
Epoch 477/1000
30447/30447 [==============================] - 17s - loss: 254.6886 - acc: 0.9088
Epoch 478/1000
30447/30447 [==============================] - 16s - loss: 280.1799 - acc: 0.9067
Epoch 479/1000
30447/30447 [==============================] - 17s - loss: 263.3889 - acc: 0.9066
Epoch 480/1000
30447/30447 [==============================] - 17s - loss: 272.4017 - acc: 0.9059
Epoch 481/1000
30447/30447 [==============================] - 16s - loss: 269.4690 - acc: 0.9044
Epoch 482/1000
30447/30447 [==============================] - 16s - loss: 265.4504 - acc: 0.9027
Epoch 483/1000
30447/30447 [==============================] - 16s - loss: 271.1471 - acc: 0.9046
Epoch 484/1000
30447/30447 [==============================] - 15s - loss: 259.2229 - acc: 0.9052
Epoch 485/1000
30447/30447 [==============================] - 14s - loss: 257.1095 - acc: 0.9059
Epoch 486/1000
30447/30447 [==============================] - 18s - loss: 246.0530 - acc: 0.9073
Epoch 487/1000
30447/30447 [==============================] - 16s - loss: 249.0534 - acc: 0.9063
Epoch 488/1000
30447/30447 [==============================] - 16s - loss: 267.0438 - acc: 0.9047
Epoch 489/1000
30447/30447 [==============================] - 16s - loss: 256.2185 - acc: 0.9087
Epoch 490/1000
30447/30447 [==============================] - 16s - loss: 249.1432 - acc: 0.9079
Epoch 491/1000
30447/30447 [==============================] - 16s - loss: 253.0887 - acc: 0.9071
Epoch 492/1000
30447/30447 [==============================] - 15s - loss: 251.6958 - acc: 0.9079
Epoch 493/1000
30447/30447 [==============================] - 17s - loss: 284.1924 - acc: 0.9061
Epoch 494/1000
30447/30447 [==============================] - 16s - loss: 239.2251 - acc: 0.9054
Epoch 495/1000
30447/30447 [==============================] - 20s - loss: 278.3725 - acc: 0.9066
Epoch 496/1000
30447/30447 [==============================] - 23s - loss: 270.5338 - acc: 0.9051
Epoch 497/1000
30447/30447 [==============================] - 18s - loss: 252.1977 - acc: 0.9061
Epoch 498/1000
30447/30447 [==============================] - 17s - loss: 249.8152 - acc: 0.9065
Epoch 499/1000
30447/30447 [==============================] - 17s - loss: 270.0992 - acc: 0.9054
Epoch 500/1000
30447/30447 [==============================] - 17s - loss: 231.0897 - acc: 0.9076
Epoch 501/1000
30447/30447 [==============================] - 16s - loss: 289.7353 - acc: 0.9019
Epoch 502/1000
30447/30447 [==============================] - 16s - loss: 256.7595 - acc: 0.9079
Epoch 503/1000
30447/30447 [==============================] - 15s - loss: 282.4611 - acc: 0.9085
Epoch 504/1000
30447/30447 [==============================] - 15s - loss: 242.5377 - acc: 0.9058
Epoch 505/1000
30447/30447 [==============================] - 15s - loss: 249.9045 - acc: 0.9045
Epoch 506/1000
30447/30447 [==============================] - 14s - loss: 268.6679 - acc: 0.9043
Epoch 507/1000
30447/30447 [==============================] - 17s - loss: 253.9589 - acc: 0.9085
Epoch 508/1000
30447/30447 [==============================] - 17s - loss: 256.7031 - acc: 0.9087
Epoch 509/1000
30447/30447 [==============================] - 16s - loss: 277.9177 - acc: 0.9044
Epoch 510/1000
30447/30447 [==============================] - 17s - loss: 232.2363 - acc: 0.9073
Epoch 511/1000
30447/30447 [==============================] - 19s - loss: 248.6107 - acc: 0.9086
Epoch 512/1000
30447/30447 [==============================] - 17s - loss: 292.1354 - acc: 0.9095
Epoch 513/1000
30447/30447 [==============================] - 14s - loss: 281.8979 - acc: 0.9047
Epoch 514/1000
30447/30447 [==============================] - 19s - loss: 250.9506 - acc: 0.9064
Epoch 515/1000
30447/30447 [==============================] - 19s - loss: 248.4890 - acc: 0.9109
Epoch 516/1000
30447/30447 [==============================] - 19s - loss: 246.8787 - acc: 0.9082
Epoch 517/1000
30447/30447 [==============================] - 17s - loss: 268.8449 - acc: 0.9058
Epoch 518/1000
30447/30447 [==============================] - 20s - loss: 246.2165 - acc: 0.9064
Epoch 519/1000
30447/30447 [==============================] - 20s - loss: 259.6375 - acc: 0.9081
Epoch 520/1000
30447/30447 [==============================] - 21s - loss: 264.0218 - acc: 0.9045
Epoch 521/1000
30447/30447 [==============================] - 20s - loss: 258.1856 - acc: 0.9074
Epoch 522/1000
30447/30447 [==============================] - 20s - loss: 259.0651 - acc: 0.9049
Epoch 523/1000
30447/30447 [==============================] - 17s - loss: 254.6861 - acc: 0.9029
Epoch 524/1000
30447/30447 [==============================] - 17s - loss: 261.4729 - acc: 0.9084
Epoch 525/1000
30447/30447 [==============================] - 17s - loss: 270.9445 - acc: 0.9074
Epoch 526/1000
30447/30447 [==============================] - 17s - loss: 242.0933 - acc: 0.9103
Epoch 527/1000
30447/30447 [==============================] - 17s - loss: 257.0143 - acc: 0.9068
Epoch 528/1000
30447/30447 [==============================] - 18s - loss: 239.0528 - acc: 0.9080
Epoch 529/1000
30447/30447 [==============================] - 20s - loss: 280.2118 - acc: 0.9084
Epoch 530/1000
30447/30447 [==============================] - 18s - loss: 259.4644 - acc: 0.9075
Epoch 531/1000
30447/30447 [==============================] - 23s - loss: 249.4825 - acc: 0.9047
Epoch 532/1000
30447/30447 [==============================] - 20s - loss: 236.7160 - acc: 0.9081
Epoch 533/1000
30447/30447 [==============================] - 23s - loss: 272.2196 - acc: 0.9059
Epoch 534/1000
30447/30447 [==============================] - 21s - loss: 250.3047 - acc: 0.9066
Epoch 535/1000
30447/30447 [==============================] - 17s - loss: 245.2679 - acc: 0.9089
Epoch 536/1000
30447/30447 [==============================] - 19s - loss: 242.5558 - acc: 0.9066
Epoch 537/1000
30447/30447 [==============================] - 21s - loss: 256.7490 - acc: 0.9081
Epoch 538/1000
30447/30447 [==============================] - 22s - loss: 267.2849 - acc: 0.9056
Epoch 539/1000
30447/30447 [==============================] - 19s - loss: 243.2201 - acc: 0.9087
Epoch 540/1000
30447/30447 [==============================] - 21s - loss: 281.1636 - acc: 0.9097
Epoch 541/1000
30447/30447 [==============================] - 19s - loss: 242.3012 - acc: 0.9046
Epoch 542/1000
30447/30447 [==============================] - 21s - loss: 237.1833 - acc: 0.9096
Epoch 543/1000
30447/30447 [==============================] - 18s - loss: 272.5200 - acc: 0.9084
Epoch 544/1000
30447/30447 [==============================] - 20s - loss: 239.2366 - acc: 0.9068
Epoch 545/1000
30447/30447 [==============================] - 22s - loss: 270.5064 - acc: 0.9066
Epoch 546/1000
30447/30447 [==============================] - 20s - loss: 245.1638 - acc: 0.9072
Epoch 547/1000
30447/30447 [==============================] - 19s - loss: 249.6017 - acc: 0.9084
Epoch 548/1000
30447/30447 [==============================] - 19s - loss: 271.3825 - acc: 0.9066
Epoch 549/1000
30447/30447 [==============================] - 20s - loss: 264.1979 - acc: 0.9077
Epoch 550/1000
30447/30447 [==============================] - 18s - loss: 228.7226 - acc: 0.9061
Epoch 551/1000
30447/30447 [==============================] - 20s - loss: 265.8730 - acc: 0.9087
Epoch 552/1000
30447/30447 [==============================] - 17s - loss: 266.7847 - acc: 0.9073
Epoch 553/1000
30447/30447 [==============================] - 16s - loss: 257.1735 - acc: 0.9076
Epoch 554/1000
30447/30447 [==============================] - 17s - loss: 279.4893 - acc: 0.9074
Epoch 555/1000
30447/30447 [==============================] - 16s - loss: 236.2400 - acc: 0.9082
Epoch 556/1000
30447/30447 [==============================] - 17s - loss: 244.7060 - acc: 0.9100
Epoch 557/1000
30447/30447 [==============================] - 16s - loss: 257.9649 - acc: 0.9047
Epoch 558/1000
30447/30447 [==============================] - 17s - loss: 234.1037 - acc: 0.9071
Epoch 559/1000
30447/30447 [==============================] - 17s - loss: 250.0367 - acc: 0.9049
Epoch 560/1000
30447/30447 [==============================] - 17s - loss: 273.1194 - acc: 0.9068
Epoch 561/1000
30447/30447 [==============================] - 18s - loss: 255.6417 - acc: 0.9087
Epoch 562/1000
30447/30447 [==============================] - 17s - loss: 268.3452 - acc: 0.9039
Epoch 563/1000
30447/30447 [==============================] - 22s - loss: 238.1336 - acc: 0.9075
Epoch 564/1000
30447/30447 [==============================] - 24s - loss: 247.7465 - acc: 0.9067
Epoch 565/1000
30447/30447 [==============================] - 18s - loss: 258.6817 - acc: 0.9072
Epoch 566/1000
30447/30447 [==============================] - 20s - loss: 233.6576 - acc: 0.9050
Epoch 567/1000
30447/30447 [==============================] - 19s - loss: 259.2602 - acc: 0.9064
Epoch 568/1000
30447/30447 [==============================] - 17s - loss: 249.0491 - acc: 0.9077
Epoch 569/1000
30447/30447 [==============================] - 20s - loss: 249.8616 - acc: 0.9077
Epoch 570/1000
30447/30447 [==============================] - 19s - loss: 263.6711 - acc: 0.9072
Epoch 571/1000
30447/30447 [==============================] - 19s - loss: 240.1901 - acc: 0.9077
Epoch 572/1000
30447/30447 [==============================] - 20s - loss: 252.5425 - acc: 0.9063
Epoch 573/1000
30447/30447 [==============================] - 26s - loss: 251.8348 - acc: 0.9070
Epoch 574/1000
30447/30447 [==============================] - 23s - loss: 273.7431 - acc: 0.9051
Epoch 575/1000
30447/30447 [==============================] - 16s - loss: 252.0017 - acc: 0.9072
Epoch 576/1000
30447/30447 [==============================] - 18s - loss: 225.6600 - acc: 0.9073
Epoch 577/1000
30447/30447 [==============================] - 19s - loss: 248.5405 - acc: 0.9093
Epoch 578/1000
30447/30447 [==============================] - 23s - loss: 269.4495 - acc: 0.9063
Epoch 579/1000
30447/30447 [==============================] - 23s - loss: 274.7663 - acc: 0.9044
Epoch 580/1000
30447/30447 [==============================] - 16s - loss: 228.0901 - acc: 0.9101
Epoch 581/1000
30447/30447 [==============================] - 17s - loss: 258.9637 - acc: 0.9106
Epoch 582/1000
30447/30447 [==============================] - 16s - loss: 257.3023 - acc: 0.9070
Epoch 583/1000
30447/30447 [==============================] - 16s - loss: 247.4325 - acc: 0.9076
Epoch 584/1000
30447/30447 [==============================] - 16s - loss: 238.1683 - acc: 0.9055
Epoch 585/1000
30447/30447 [==============================] - 16s - loss: 259.8822 - acc: 0.9061
Epoch 586/1000
30447/30447 [==============================] - 16s - loss: 278.7860 - acc: 0.9032
Epoch 587/1000
30447/30447 [==============================] - 16s - loss: 231.9961 - acc: 0.9092
Epoch 588/1000
30447/30447 [==============================] - 16s - loss: 243.9272 - acc: 0.9102
Epoch 589/1000
30447/30447 [==============================] - 16s - loss: 259.4339 - acc: 0.9075
Epoch 590/1000
30447/30447 [==============================] - 16s - loss: 245.2776 - acc: 0.9079
Epoch 591/1000
30447/30447 [==============================] - 17s - loss: 249.1740 - acc: 0.9056
Epoch 592/1000
30447/30447 [==============================] - 16s - loss: 264.1361 - acc: 0.9083
Epoch 593/1000
30447/30447 [==============================] - 17s - loss: 267.3673 - acc: 0.9081
Epoch 594/1000
30447/30447 [==============================] - 16s - loss: 241.6121 - acc: 0.9054
Epoch 595/1000
30447/30447 [==============================] - 16s - loss: 256.5979 - acc: 0.9105
Epoch 596/1000
30447/30447 [==============================] - 16s - loss: 241.0195 - acc: 0.9077
Epoch 597/1000
30447/30447 [==============================] - 16s - loss: 244.9144 - acc: 0.9078
Epoch 598/1000
30447/30447 [==============================] - 16s - loss: 235.3765 - acc: 0.9121
Epoch 599/1000
30447/30447 [==============================] - 16s - loss: 259.9407 - acc: 0.9074
Epoch 600/1000
30447/30447 [==============================] - 16s - loss: 253.7916 - acc: 0.9076
Epoch 601/1000
30447/30447 [==============================] - 16s - loss: 237.6913 - acc: 0.9082
Epoch 602/1000
30447/30447 [==============================] - 16s - loss: 252.2990 - acc: 0.9056
Epoch 603/1000
30447/30447 [==============================] - 16s - loss: 252.2075 - acc: 0.9072
Epoch 604/1000
30447/30447 [==============================] - 16s - loss: 259.5565 - acc: 0.9081
Epoch 605/1000
30447/30447 [==============================] - 16s - loss: 233.1163 - acc: 0.9105
Epoch 606/1000
30447/30447 [==============================] - 16s - loss: 251.3422 - acc: 0.9132
Epoch 607/1000
30447/30447 [==============================] - 16s - loss: 251.7323 - acc: 0.9103
Epoch 608/1000
30447/30447 [==============================] - 16s - loss: 257.4783 - acc: 0.9108
Epoch 609/1000
30447/30447 [==============================] - 17s - loss: 266.1503 - acc: 0.9045
Epoch 610/1000
30447/30447 [==============================] - 16s - loss: 225.7186 - acc: 0.9069
Epoch 611/1000
30447/30447 [==============================] - 18s - loss: 244.0914 - acc: 0.9074
Epoch 612/1000
30447/30447 [==============================] - 16s - loss: 247.3450 - acc: 0.9107
Epoch 613/1000
30447/30447 [==============================] - 17s - loss: 240.3482 - acc: 0.9094
Epoch 614/1000
30447/30447 [==============================] - 16s - loss: 256.8154 - acc: 0.9102
Epoch 615/1000
30447/30447 [==============================] - 17s - loss: 257.2284 - acc: 0.9061
Epoch 616/1000
30447/30447 [==============================] - 17s - loss: 256.6844 - acc: 0.9072
Epoch 617/1000
30447/30447 [==============================] - 16s - loss: 241.2378 - acc: 0.9112
Epoch 618/1000
30447/30447 [==============================] - 16s - loss: 254.0295 - acc: 0.9071
Epoch 619/1000
30447/30447 [==============================] - 16s - loss: 255.6410 - acc: 0.9107
Epoch 620/1000
30447/30447 [==============================] - 17s - loss: 228.9404 - acc: 0.9111
Epoch 621/1000
30447/30447 [==============================] - 16s - loss: 255.8430 - acc: 0.9076
Epoch 622/1000
30447/30447 [==============================] - 16s - loss: 235.4386 - acc: 0.9089
Epoch 623/1000
30447/30447 [==============================] - 16s - loss: 207.3600 - acc: 0.9104
Epoch 624/1000
30447/30447 [==============================] - 16s - loss: 257.0397 - acc: 0.9086
Epoch 625/1000
30447/30447 [==============================] - 16s - loss: 232.9130 - acc: 0.9097
Epoch 626/1000
30447/30447 [==============================] - 16s - loss: 245.4415 - acc: 0.9092
Epoch 627/1000
30447/30447 [==============================] - 17s - loss: 234.8867 - acc: 0.9110
Epoch 628/1000
30447/30447 [==============================] - 16s - loss: 249.9797 - acc: 0.9098
Epoch 629/1000
30447/30447 [==============================] - 18s - loss: 250.9992 - acc: 0.9080
Epoch 630/1000
30447/30447 [==============================] - 17s - loss: 239.0054 - acc: 0.9116
Epoch 631/1000
30447/30447 [==============================] - 16s - loss: 255.2150 - acc: 0.9061
Epoch 632/1000
30447/30447 [==============================] - 16s - loss: 242.8756 - acc: 0.9089
Epoch 633/1000
30447/30447 [==============================] - 15s - loss: 231.1743 - acc: 0.9109
Epoch 634/1000
30447/30447 [==============================] - 15s - loss: 261.2341 - acc: 0.9084
Epoch 635/1000
30447/30447 [==============================] - 15s - loss: 245.4926 - acc: 0.9076
Epoch 636/1000
30447/30447 [==============================] - 15s - loss: 252.3492 - acc: 0.9064
Epoch 637/1000
30447/30447 [==============================] - 15s - loss: 247.3581 - acc: 0.9099
Epoch 638/1000
30447/30447 [==============================] - 15s - loss: 230.7061 - acc: 0.9092
Epoch 639/1000
30447/30447 [==============================] - 15s - loss: 252.1887 - acc: 0.9104
Epoch 640/1000
30447/30447 [==============================] - 15s - loss: 240.3512 - acc: 0.9109
Epoch 641/1000
30447/30447 [==============================] - 15s - loss: 261.4181 - acc: 0.9071
Epoch 642/1000
30447/30447 [==============================] - 15s - loss: 247.2404 - acc: 0.9080
Epoch 643/1000
30447/30447 [==============================] - 15s - loss: 252.0015 - acc: 0.9095
Epoch 644/1000
30447/30447 [==============================] - 15s - loss: 233.8061 - acc: 0.9123
Epoch 645/1000
30447/30447 [==============================] - 15s - loss: 235.0045 - acc: 0.9116
Epoch 646/1000
30447/30447 [==============================] - 15s - loss: 229.4013 - acc: 0.9123
Epoch 647/1000
30447/30447 [==============================] - 15s - loss: 233.6632 - acc: 0.9099
Epoch 648/1000
30447/30447 [==============================] - 16s - loss: 252.1053 - acc: 0.9120
Epoch 649/1000
30447/30447 [==============================] - 15s - loss: 227.5259 - acc: 0.9087
Epoch 650/1000
30447/30447 [==============================] - 15s - loss: 244.0221 - acc: 0.9110
Epoch 651/1000
30447/30447 [==============================] - 15s - loss: 260.3517 - acc: 0.9074
Epoch 652/1000
30447/30447 [==============================] - 15s - loss: 229.7317 - acc: 0.9111
Epoch 653/1000
30447/30447 [==============================] - 15s - loss: 270.5124 - acc: 0.9085
Epoch 654/1000
30447/30447 [==============================] - 15s - loss: 251.0537 - acc: 0.9063
Epoch 655/1000
30447/30447 [==============================] - 15s - loss: 257.4362 - acc: 0.9065
Epoch 656/1000
30447/30447 [==============================] - 16s - loss: 228.8652 - acc: 0.9120
Epoch 657/1000
30447/30447 [==============================] - 15s - loss: 257.3198 - acc: 0.9100
Epoch 658/1000
30447/30447 [==============================] - 15s - loss: 246.0007 - acc: 0.9103
Epoch 659/1000
30447/30447 [==============================] - 16s - loss: 233.6358 - acc: 0.9063
Epoch 660/1000
30447/30447 [==============================] - 16s - loss: 233.5792 - acc: 0.9115
Epoch 661/1000
30447/30447 [==============================] - 15s - loss: 232.5295 - acc: 0.9093
Epoch 662/1000
30447/30447 [==============================] - 15s - loss: 244.3316 - acc: 0.9094
Epoch 663/1000
30447/30447 [==============================] - 16s - loss: 254.0429 - acc: 0.9098
Epoch 664/1000
30447/30447 [==============================] - 15s - loss: 242.3432 - acc: 0.9078
Epoch 665/1000
30447/30447 [==============================] - 15s - loss: 251.2584 - acc: 0.9071
Epoch 666/1000
30447/30447 [==============================] - 16s - loss: 228.7203 - acc: 0.9069
Epoch 667/1000
30447/30447 [==============================] - 16s - loss: 227.9475 - acc: 0.9126
Epoch 668/1000
30447/30447 [==============================] - 16s - loss: 237.1767 - acc: 0.9118
Epoch 669/1000
30447/30447 [==============================] - 16s - loss: 245.1426 - acc: 0.9082
Epoch 670/1000
30447/30447 [==============================] - 16s - loss: 218.3886 - acc: 0.9117
Epoch 671/1000
30447/30447 [==============================] - 16s - loss: 250.5258 - acc: 0.9057
Epoch 672/1000
30447/30447 [==============================] - 16s - loss: 230.6951 - acc: 0.9098
Epoch 673/1000
30447/30447 [==============================] - 15s - loss: 243.4811 - acc: 0.9083
Epoch 674/1000
30447/30447 [==============================] - 16s - loss: 243.5551 - acc: 0.9096
Epoch 675/1000
30447/30447 [==============================] - 16s - loss: 248.8592 - acc: 0.9080
Epoch 676/1000
30447/30447 [==============================] - 16s - loss: 248.2310 - acc: 0.9096
Epoch 677/1000
30447/30447 [==============================] - 16s - loss: 243.4436 - acc: 0.9103
Epoch 678/1000
30447/30447 [==============================] - 16s - loss: 259.3689 - acc: 0.9052
Epoch 679/1000
30447/30447 [==============================] - 16s - loss: 247.8797 - acc: 0.9099
Epoch 680/1000
30447/30447 [==============================] - 15s - loss: 230.1588 - acc: 0.9126
Epoch 681/1000
30447/30447 [==============================] - 15s - loss: 247.1261 - acc: 0.9072
Epoch 682/1000
30447/30447 [==============================] - 16s - loss: 267.9388 - acc: 0.9090
Epoch 683/1000
30447/30447 [==============================] - 16s - loss: 216.2362 - acc: 0.9112
Epoch 684/1000
30447/30447 [==============================] - 16s - loss: 247.5156 - acc: 0.9130
Epoch 685/1000
30447/30447 [==============================] - 16s - loss: 212.1976 - acc: 0.9114
Epoch 686/1000
30447/30447 [==============================] - 16s - loss: 248.1597 - acc: 0.9094
Epoch 687/1000
30447/30447 [==============================] - 16s - loss: 252.0421 - acc: 0.9117
Epoch 688/1000
30447/30447 [==============================] - 16s - loss: 243.3733 - acc: 0.9092
Epoch 689/1000
30447/30447 [==============================] - 16s - loss: 243.2774 - acc: 0.9076
Epoch 690/1000
30447/30447 [==============================] - 16s - loss: 244.4795 - acc: 0.9125
Epoch 691/1000
30447/30447 [==============================] - 16s - loss: 246.7094 - acc: 0.9121
Epoch 692/1000
30447/30447 [==============================] - 16s - loss: 237.2499 - acc: 0.9078
Epoch 693/1000
30447/30447 [==============================] - 16s - loss: 242.7139 - acc: 0.9119
Epoch 694/1000
30447/30447 [==============================] - 16s - loss: 240.7715 - acc: 0.9108
Epoch 695/1000
30447/30447 [==============================] - 16s - loss: 249.6007 - acc: 0.9098
Epoch 696/1000
30447/30447 [==============================] - 16s - loss: 218.2487 - acc: 0.9102
Epoch 697/1000
30447/30447 [==============================] - 16s - loss: 231.7158 - acc: 0.9101
Epoch 698/1000
30447/30447 [==============================] - 16s - loss: 236.8806 - acc: 0.9115
Epoch 699/1000
30447/30447 [==============================] - 16s - loss: 223.0354 - acc: 0.9137
Epoch 700/1000
30447/30447 [==============================] - 16s - loss: 222.9724 - acc: 0.9111
Epoch 701/1000
30447/30447 [==============================] - 16s - loss: 246.0242 - acc: 0.9090
Epoch 702/1000
30447/30447 [==============================] - 16s - loss: 242.1769 - acc: 0.9123
Epoch 703/1000
30447/30447 [==============================] - 19s - loss: 235.7971 - acc: 0.9115
Epoch 704/1000
30447/30447 [==============================] - 16s - loss: 226.6542 - acc: 0.9142
Epoch 705/1000
30447/30447 [==============================] - 15s - loss: 268.7698 - acc: 0.9118
Epoch 706/1000
30447/30447 [==============================] - 16s - loss: 215.8352 - acc: 0.9149
Epoch 707/1000
30447/30447 [==============================] - 16s - loss: 213.7912 - acc: 0.9117
Epoch 708/1000
30447/30447 [==============================] - 16s - loss: 235.8182 - acc: 0.9119
Epoch 709/1000
30447/30447 [==============================] - 16s - loss: 247.1996 - acc: 0.9109
Epoch 710/1000
30447/30447 [==============================] - 17s - loss: 227.9491 - acc: 0.9111
Epoch 711/1000
30447/30447 [==============================] - 17s - loss: 225.2276 - acc: 0.9100
Epoch 712/1000
30447/30447 [==============================] - 17s - loss: 262.6989 - acc: 0.9082
Epoch 713/1000
30447/30447 [==============================] - 17s - loss: 222.6438 - acc: 0.9084
Epoch 714/1000
30447/30447 [==============================] - 18s - loss: 242.6461 - acc: 0.9077
Epoch 715/1000
30447/30447 [==============================] - 17s - loss: 221.3364 - acc: 0.9094
Epoch 716/1000
30447/30447 [==============================] - 17s - loss: 237.0601 - acc: 0.9099
Epoch 717/1000
30447/30447 [==============================] - 17s - loss: 228.3387 - acc: 0.9090
Epoch 718/1000
30447/30447 [==============================] - 17s - loss: 238.5031 - acc: 0.9098
Epoch 719/1000
30447/30447 [==============================] - 17s - loss: 237.9357 - acc: 0.9090
Epoch 720/1000
30447/30447 [==============================] - 17s - loss: 235.0723 - acc: 0.9069
Epoch 721/1000
30447/30447 [==============================] - 18s - loss: 217.6419 - acc: 0.9088
Epoch 722/1000
30447/30447 [==============================] - 17s - loss: 252.0172 - acc: 0.9100
Epoch 723/1000
30447/30447 [==============================] - 17s - loss: 227.7664 - acc: 0.9095
Epoch 724/1000
30447/30447 [==============================] - 17s - loss: 234.6792 - acc: 0.9085
Epoch 725/1000
30447/30447 [==============================] - 17s - loss: 253.7743 - acc: 0.9076
Epoch 726/1000
30447/30447 [==============================] - 18s - loss: 232.5621 - acc: 0.9073
Epoch 727/1000
30447/30447 [==============================] - 17s - loss: 237.4665 - acc: 0.9118
Epoch 728/1000
30447/30447 [==============================] - 17s - loss: 227.4090 - acc: 0.9090
Epoch 729/1000
30447/30447 [==============================] - 17s - loss: 223.5300 - acc: 0.9132
Epoch 730/1000
30447/30447 [==============================] - 17s - loss: 243.7895 - acc: 0.9103
Epoch 731/1000
30447/30447 [==============================] - 17s - loss: 244.5221 - acc: 0.9098
Epoch 732/1000
30447/30447 [==============================] - 17s - loss: 253.3363 - acc: 0.9076
Epoch 733/1000
30447/30447 [==============================] - 18s - loss: 225.0522 - acc: 0.9111
Epoch 734/1000
30447/30447 [==============================] - 17s - loss: 225.3164 - acc: 0.9103
Epoch 735/1000
30447/30447 [==============================] - 17s - loss: 225.7956 - acc: 0.9141
Epoch 736/1000
30447/30447 [==============================] - 17s - loss: 225.7343 - acc: 0.9106
Epoch 737/1000
30447/30447 [==============================] - 18s - loss: 283.1330 - acc: 0.9078
Epoch 738/1000
30447/30447 [==============================] - 17s - loss: 227.0203 - acc: 0.9143
Epoch 739/1000
30447/30447 [==============================] - 17s - loss: 265.6961 - acc: 0.9111
Epoch 740/1000
30447/30447 [==============================] - 17s - loss: 244.5245 - acc: 0.9120
Epoch 741/1000
30447/30447 [==============================] - 18s - loss: 222.0840 - acc: 0.9094
Epoch 742/1000
30447/30447 [==============================] - 17s - loss: 230.0276 - acc: 0.9139
Epoch 743/1000
30447/30447 [==============================] - 18s - loss: 219.0496 - acc: 0.9115
Epoch 744/1000
30447/30447 [==============================] - 17s - loss: 244.4581 - acc: 0.9130
Epoch 745/1000
30447/30447 [==============================] - 17s - loss: 220.8724 - acc: 0.9061
Epoch 746/1000
30447/30447 [==============================] - 17s - loss: 233.3220 - acc: 0.9095
Epoch 747/1000
30447/30447 [==============================] - 18s - loss: 219.4352 - acc: 0.9130
Epoch 748/1000
30447/30447 [==============================] - 18s - loss: 220.7575 - acc: 0.9109
Epoch 749/1000
30447/30447 [==============================] - 18s - loss: 223.3619 - acc: 0.9065
Epoch 750/1000
30447/30447 [==============================] - 18s - loss: 230.5604 - acc: 0.9095
Epoch 751/1000
30447/30447 [==============================] - 18s - loss: 240.8174 - acc: 0.9092
Epoch 752/1000
30447/30447 [==============================] - 18s - loss: 245.7631 - acc: 0.9111
Epoch 753/1000
30447/30447 [==============================] - 17s - loss: 233.7091 - acc: 0.9118
Epoch 754/1000
30447/30447 [==============================] - 18s - loss: 234.3243 - acc: 0.9116
Epoch 755/1000
30447/30447 [==============================] - 18s - loss: 244.9799 - acc: 0.9088
Epoch 756/1000
30447/30447 [==============================] - 17s - loss: 235.3728 - acc: 0.9107
Epoch 757/1000
30447/30447 [==============================] - 17s - loss: 232.5147 - acc: 0.9101
Epoch 758/1000
30447/30447 [==============================] - 18s - loss: 246.7517 - acc: 0.9105
Epoch 759/1000
30447/30447 [==============================] - 18s - loss: 225.1145 - acc: 0.9131
Epoch 760/1000
30447/30447 [==============================] - 18s - loss: 231.5687 - acc: 0.9086
Epoch 761/1000
30447/30447 [==============================] - 18s - loss: 256.1139 - acc: 0.9087
Epoch 762/1000
30447/30447 [==============================] - 18s - loss: 240.4781 - acc: 0.9080
Epoch 763/1000
30447/30447 [==============================] - 17s - loss: 223.1953 - acc: 0.9123
Epoch 764/1000
30447/30447 [==============================] - 17s - loss: 231.2371 - acc: 0.9089
Epoch 765/1000
30447/30447 [==============================] - 18s - loss: 247.2212 - acc: 0.9104
Epoch 766/1000
30447/30447 [==============================] - 18s - loss: 233.3525 - acc: 0.9097
Epoch 767/1000
30447/30447 [==============================] - 18s - loss: 221.8517 - acc: 0.9115
Epoch 768/1000
30447/30447 [==============================] - 18s - loss: 239.0618 - acc: 0.9124
Epoch 769/1000
30447/30447 [==============================] - 18s - loss: 225.9409 - acc: 0.9096
Epoch 770/1000
30447/30447 [==============================] - 18s - loss: 200.4620 - acc: 0.9131
Epoch 771/1000
30447/30447 [==============================] - 19s - loss: 245.9139 - acc: 0.9139
Epoch 772/1000
30447/30447 [==============================] - 18s - loss: 233.4270 - acc: 0.9084
Epoch 773/1000
30447/30447 [==============================] - 20s - loss: 220.7625 - acc: 0.9096
Epoch 774/1000
30447/30447 [==============================] - 19s - loss: 243.3931 - acc: 0.9088
Epoch 775/1000
30447/30447 [==============================] - 18s - loss: 242.3677 - acc: 0.9101
Epoch 776/1000
30447/30447 [==============================] - 18s - loss: 239.7446 - acc: 0.9115
Epoch 777/1000
30447/30447 [==============================] - 18s - loss: 223.3860 - acc: 0.9127
Epoch 778/1000
30447/30447 [==============================] - 18s - loss: 230.3955 - acc: 0.9125
Epoch 779/1000
30447/30447 [==============================] - 18s - loss: 226.1663 - acc: 0.9089
Epoch 780/1000
30447/30447 [==============================] - 18s - loss: 219.4711 - acc: 0.9141
Epoch 781/1000
30447/30447 [==============================] - 18s - loss: 222.8797 - acc: 0.9122
Epoch 782/1000
30447/30447 [==============================] - 18s - loss: 250.6957 - acc: 0.9117
Epoch 783/1000
30447/30447 [==============================] - 18s - loss: 237.1700 - acc: 0.9114
Epoch 784/1000
30447/30447 [==============================] - 18s - loss: 236.3755 - acc: 0.9102
Epoch 785/1000
30447/30447 [==============================] - 18s - loss: 231.8203 - acc: 0.9114
Epoch 786/1000
30447/30447 [==============================] - 18s - loss: 224.3364 - acc: 0.9137
Epoch 787/1000
30447/30447 [==============================] - 19s - loss: 210.2843 - acc: 0.9157
Epoch 788/1000
30447/30447 [==============================] - 18s - loss: 234.5811 - acc: 0.9111
Epoch 789/1000
30447/30447 [==============================] - 18s - loss: 238.3162 - acc: 0.9098
Epoch 790/1000
30447/30447 [==============================] - 19s - loss: 248.3215 - acc: 0.9091
Epoch 791/1000
30447/30447 [==============================] - 19s - loss: 232.4831 - acc: 0.9115
Epoch 792/1000
30447/30447 [==============================] - 19s - loss: 228.7238 - acc: 0.9105
Epoch 793/1000
30447/30447 [==============================] - 18s - loss: 225.9861 - acc: 0.9124
Epoch 794/1000
30447/30447 [==============================] - 18s - loss: 237.7220 - acc: 0.9137
Epoch 795/1000
30447/30447 [==============================] - 19s - loss: 222.6154 - acc: 0.9129
Epoch 796/1000
30447/30447 [==============================] - 19s - loss: 216.6254 - acc: 0.9146
Epoch 797/1000
30447/30447 [==============================] - 19s - loss: 246.6344 - acc: 0.9104
Epoch 798/1000
30447/30447 [==============================] - 19s - loss: 234.3120 - acc: 0.9112
Epoch 799/1000
30447/30447 [==============================] - 18s - loss: 239.6216 - acc: 0.9112
Epoch 800/1000
30447/30447 [==============================] - 19s - loss: 243.9966 - acc: 0.9108
Epoch 801/1000
30447/30447 [==============================] - 18s - loss: 224.4010 - acc: 0.9097
Epoch 802/1000
30447/30447 [==============================] - 20s - loss: 243.4507 - acc: 0.9093
Epoch 803/1000
30447/30447 [==============================] - 18s - loss: 229.5711 - acc: 0.9145
Epoch 804/1000
30447/30447 [==============================] - 19s - loss: 221.9879 - acc: 0.9099
Epoch 805/1000
30447/30447 [==============================] - 19s - loss: 224.6915 - acc: 0.9148
Epoch 806/1000
30447/30447 [==============================] - 18s - loss: 219.0869 - acc: 0.9101
Epoch 807/1000
30447/30447 [==============================] - 19s - loss: 252.8582 - acc: 0.9112
Epoch 808/1000
30447/30447 [==============================] - 19s - loss: 212.4775 - acc: 0.9123
Epoch 809/1000
30447/30447 [==============================] - 19s - loss: 248.2428 - acc: 0.9102
Epoch 810/1000
30447/30447 [==============================] - 19s - loss: 214.0741 - acc: 0.9123
Epoch 811/1000
30447/30447 [==============================] - 18s - loss: 239.1348 - acc: 0.9112
Epoch 812/1000
30447/30447 [==============================] - 18s - loss: 225.4580 - acc: 0.9150
Epoch 813/1000
30447/30447 [==============================] - 19s - loss: 248.9815 - acc: 0.9091
Epoch 814/1000
30447/30447 [==============================] - 19s - loss: 194.4846 - acc: 0.9163
Epoch 815/1000
30447/30447 [==============================] - 18s - loss: 257.9503 - acc: 0.9108
Epoch 816/1000
30447/30447 [==============================] - 19s - loss: 247.9342 - acc: 0.9136
Epoch 817/1000
30447/30447 [==============================] - 19s - loss: 218.5042 - acc: 0.9129
Epoch 818/1000
30447/30447 [==============================] - 20s - loss: 232.2477 - acc: 0.9144
Epoch 819/1000
30447/30447 [==============================] - 19s - loss: 225.7064 - acc: 0.9108
Epoch 820/1000
30447/30447 [==============================] - 19s - loss: 214.1611 - acc: 0.9135
Epoch 821/1000
30447/30447 [==============================] - 19s - loss: 228.0373 - acc: 0.9099
Epoch 822/1000
30447/30447 [==============================] - 19s - loss: 215.4297 - acc: 0.9094
Epoch 823/1000
30447/30447 [==============================] - 19s - loss: 209.3467 - acc: 0.9132
Epoch 824/1000
30447/30447 [==============================] - 19s - loss: 237.4970 - acc: 0.9144
Epoch 825/1000
30447/30447 [==============================] - 19s - loss: 212.8179 - acc: 0.9128
Epoch 826/1000
30447/30447 [==============================] - 19s - loss: 228.4302 - acc: 0.9133
Epoch 827/1000
30447/30447 [==============================] - 19s - loss: 225.5885 - acc: 0.9128
Epoch 828/1000
30447/30447 [==============================] - 19s - loss: 230.7648 - acc: 0.9134
Epoch 829/1000
30447/30447 [==============================] - 19s - loss: 248.5968 - acc: 0.9131
Epoch 830/1000
30447/30447 [==============================] - 19s - loss: 199.0954 - acc: 0.9135
Epoch 831/1000
30447/30447 [==============================] - 18s - loss: 215.7902 - acc: 0.9113
Epoch 832/1000
30447/30447 [==============================] - 19s - loss: 241.3797 - acc: 0.9100
Epoch 833/1000
30447/30447 [==============================] - 19s - loss: 214.7515 - acc: 0.9150
Epoch 834/1000
30447/30447 [==============================] - 20s - loss: 207.4659 - acc: 0.9147
Epoch 835/1000
30447/30447 [==============================] - 19s - loss: 242.2531 - acc: 0.9143
Epoch 836/1000
30447/30447 [==============================] - 19s - loss: 223.6850 - acc: 0.9096
Epoch 837/1000
30447/30447 [==============================] - 19s - loss: 235.0030 - acc: 0.9139
Epoch 838/1000
30447/30447 [==============================] - 19s - loss: 228.4476 - acc: 0.9139
Epoch 839/1000
30447/30447 [==============================] - 19s - loss: 218.7741 - acc: 0.9172
Epoch 840/1000
30447/30447 [==============================] - 19s - loss: 228.5842 - acc: 0.9115
Epoch 841/1000
30447/30447 [==============================] - 19s - loss: 240.3105 - acc: 0.9144
Epoch 842/1000
30447/30447 [==============================] - 19s - loss: 221.5875 - acc: 0.9136
Epoch 843/1000
30447/30447 [==============================] - 19s - loss: 225.8782 - acc: 0.9124
Epoch 844/1000
30447/30447 [==============================] - 19s - loss: 221.1952 - acc: 0.9127
Epoch 845/1000
30447/30447 [==============================] - 19s - loss: 225.2870 - acc: 0.9117
Epoch 846/1000
30447/30447 [==============================] - 19s - loss: 250.8102 - acc: 0.9108
Epoch 847/1000
30447/30447 [==============================] - 19s - loss: 243.8096 - acc: 0.9122
Epoch 848/1000
30447/30447 [==============================] - 19s - loss: 235.2037 - acc: 0.9091
Epoch 849/1000
30447/30447 [==============================] - 20s - loss: 212.0583 - acc: 0.9143
Epoch 850/1000
30447/30447 [==============================] - 19s - loss: 239.5140 - acc: 0.9113
Epoch 851/1000
30447/30447 [==============================] - 19s - loss: 220.9211 - acc: 0.9124
Epoch 852/1000
30447/30447 [==============================] - 19s - loss: 200.5993 - acc: 0.9193
Epoch 853/1000
30447/30447 [==============================] - 19s - loss: 242.1032 - acc: 0.9149
Epoch 854/1000
30447/30447 [==============================] - 19s - loss: 225.8388 - acc: 0.9108
Epoch 855/1000
30447/30447 [==============================] - 19s - loss: 225.8132 - acc: 0.9096
Epoch 856/1000
30447/30447 [==============================] - 19s - loss: 219.5133 - acc: 0.9152
Epoch 857/1000
30447/30447 [==============================] - 19s - loss: 214.6836 - acc: 0.9133
Epoch 858/1000
30447/30447 [==============================] - 19s - loss: 215.0219 - acc: 0.9129
Epoch 859/1000
30447/30447 [==============================] - 19s - loss: 247.0168 - acc: 0.9133
Epoch 860/1000
30447/30447 [==============================] - 19s - loss: 218.9017 - acc: 0.9128
Epoch 861/1000
30447/30447 [==============================] - 19s - loss: 239.1491 - acc: 0.9116
Epoch 862/1000
30447/30447 [==============================] - 19s - loss: 201.8539 - acc: 0.9144
Epoch 863/1000
30447/30447 [==============================] - 19s - loss: 200.8907 - acc: 0.9128
Epoch 864/1000
30447/30447 [==============================] - 20s - loss: 251.5790 - acc: 0.9105
Epoch 865/1000
30447/30447 [==============================] - 19s - loss: 232.0087 - acc: 0.9119
Epoch 866/1000
30447/30447 [==============================] - 19s - loss: 231.2099 - acc: 0.9117
Epoch 867/1000
30447/30447 [==============================] - 19s - loss: 214.3308 - acc: 0.9134
Epoch 868/1000
30447/30447 [==============================] - 19s - loss: 210.6199 - acc: 0.9151
Epoch 869/1000
30447/30447 [==============================] - 19s - loss: 222.3607 - acc: 0.9133
Epoch 870/1000
30447/30447 [==============================] - 19s - loss: 241.1674 - acc: 0.9157
Epoch 871/1000
30447/30447 [==============================] - 19s - loss: 206.3210 - acc: 0.9140
Epoch 872/1000
30447/30447 [==============================] - 19s - loss: 250.1370 - acc: 0.9130
Epoch 873/1000
30447/30447 [==============================] - 19s - loss: 197.0719 - acc: 0.9133
Epoch 874/1000
30447/30447 [==============================] - 19s - loss: 237.4277 - acc: 0.9128
Epoch 875/1000
30447/30447 [==============================] - 19s - loss: 228.1865 - acc: 0.9138
Epoch 876/1000
30447/30447 [==============================] - 19s - loss: 214.9403 - acc: 0.9116
Epoch 877/1000
30447/30447 [==============================] - 19s - loss: 220.1544 - acc: 0.9111
Epoch 878/1000
30447/30447 [==============================] - 19s - loss: 234.1704 - acc: 0.9101
Epoch 879/1000
30447/30447 [==============================] - 20s - loss: 225.3321 - acc: 0.9101
Epoch 880/1000
30447/30447 [==============================] - 20s - loss: 219.7819 - acc: 0.9107
Epoch 881/1000
30447/30447 [==============================] - 19s - loss: 215.2274 - acc: 0.9170
Epoch 882/1000
30447/30447 [==============================] - 19s - loss: 220.2167 - acc: 0.9120
Epoch 883/1000
30447/30447 [==============================] - 19s - loss: 239.9768 - acc: 0.9122
Epoch 884/1000
30447/30447 [==============================] - 19s - loss: 224.8155 - acc: 0.9101
Epoch 885/1000
30447/30447 [==============================] - 21s - loss: 234.1239 - acc: 0.9113
Epoch 886/1000
30447/30447 [==============================] - 19s - loss: 222.8105 - acc: 0.9111
Epoch 887/1000
30447/30447 [==============================] - 19s - loss: 214.0352 - acc: 0.9106
Epoch 888/1000
30447/30447 [==============================] - 19s - loss: 225.3210 - acc: 0.9145
Epoch 889/1000
30447/30447 [==============================] - 19s - loss: 205.6017 - acc: 0.9115
Epoch 890/1000
30447/30447 [==============================] - 19s - loss: 252.0896 - acc: 0.9110
Epoch 891/1000
30447/30447 [==============================] - 19s - loss: 224.1960 - acc: 0.9136
Epoch 892/1000
30447/30447 [==============================] - 19s - loss: 208.4392 - acc: 0.9163
Epoch 893/1000
30447/30447 [==============================] - 19s - loss: 210.2475 - acc: 0.9134
Epoch 894/1000
30447/30447 [==============================] - 19s - loss: 218.3729 - acc: 0.9122
Epoch 895/1000
30447/30447 [==============================] - 22s - loss: 236.8292 - acc: 0.9100
Epoch 896/1000
30447/30447 [==============================] - 19s - loss: 206.0390 - acc: 0.9133
Epoch 897/1000
30447/30447 [==============================] - 19s - loss: 227.9301 - acc: 0.9123
Epoch 898/1000
30447/30447 [==============================] - 19s - loss: 220.5815 - acc: 0.9132
Epoch 899/1000
30447/30447 [==============================] - 20s - loss: 212.0924 - acc: 0.9135
Epoch 900/1000
30447/30447 [==============================] - 20s - loss: 220.8398 - acc: 0.9149
Epoch 901/1000
30447/30447 [==============================] - 19s - loss: 222.2786 - acc: 0.9157
Epoch 902/1000
30447/30447 [==============================] - 20s - loss: 209.2900 - acc: 0.9114
Epoch 903/1000
30447/30447 [==============================] - 19s - loss: 222.9210 - acc: 0.9140
Epoch 904/1000
30447/30447 [==============================] - 19s - loss: 237.3832 - acc: 0.9103
Epoch 905/1000
30447/30447 [==============================] - 19s - loss: 217.4232 - acc: 0.9129
Epoch 906/1000
30447/30447 [==============================] - 19s - loss: 224.9509 - acc: 0.9124
Epoch 907/1000
30447/30447 [==============================] - 20s - loss: 231.5514 - acc: 0.9111
Epoch 908/1000
30447/30447 [==============================] - 19s - loss: 204.0683 - acc: 0.9130
Epoch 909/1000
30447/30447 [==============================] - 20s - loss: 217.7319 - acc: 0.9139
Epoch 910/1000
30447/30447 [==============================] - 20s - loss: 212.9717 - acc: 0.9165
Epoch 911/1000
30447/30447 [==============================] - 20s - loss: 202.6286 - acc: 0.9142
Epoch 912/1000
30447/30447 [==============================] - 19s - loss: 240.2668 - acc: 0.9146
Epoch 913/1000
30447/30447 [==============================] - 20s - loss: 207.4124 - acc: 0.9135
Epoch 914/1000
30447/30447 [==============================] - 20s - loss: 223.0135 - acc: 0.9138
Epoch 915/1000
30447/30447 [==============================] - 20s - loss: 221.4351 - acc: 0.9126
Epoch 916/1000
30447/30447 [==============================] - 19s - loss: 207.2946 - acc: 0.9157
Epoch 917/1000
30447/30447 [==============================] - 19s - loss: 232.3571 - acc: 0.9152
Epoch 918/1000
30447/30447 [==============================] - 20s - loss: 199.2523 - acc: 0.9137
Epoch 919/1000
30447/30447 [==============================] - 20s - loss: 246.4713 - acc: 0.9151
Epoch 920/1000
30447/30447 [==============================] - 19s - loss: 214.2541 - acc: 0.9144
Epoch 921/1000
30447/30447 [==============================] - 19s - loss: 211.0922 - acc: 0.9159
Epoch 922/1000
30447/30447 [==============================] - 19s - loss: 217.3283 - acc: 0.9132
Epoch 923/1000
30447/30447 [==============================] - 19s - loss: 202.9538 - acc: 0.9175
Epoch 924/1000
30447/30447 [==============================] - 19s - loss: 216.4572 - acc: 0.9146
Epoch 925/1000
30447/30447 [==============================] - 20s - loss: 219.0327 - acc: 0.9125
Epoch 926/1000
30447/30447 [==============================] - 19s - loss: 220.4741 - acc: 0.9133
Epoch 927/1000
30447/30447 [==============================] - 20s - loss: 227.8738 - acc: 0.9127
Epoch 928/1000
30447/30447 [==============================] - 19s - loss: 242.9426 - acc: 0.9094
Epoch 929/1000
30447/30447 [==============================] - 20s - loss: 228.9061 - acc: 0.9119
Epoch 930/1000
30447/30447 [==============================] - 19s - loss: 193.9959 - acc: 0.9155
Epoch 931/1000
30447/30447 [==============================] - 20s - loss: 218.2520 - acc: 0.9125
Epoch 932/1000
30447/30447 [==============================] - 19s - loss: 236.1757 - acc: 0.9116
Epoch 933/1000
30447/30447 [==============================] - 19s - loss: 227.4061 - acc: 0.9151
Epoch 934/1000
30447/30447 [==============================] - 20s - loss: 237.2860 - acc: 0.9149
Epoch 935/1000
30447/30447 [==============================] - 19s - loss: 214.5956 - acc: 0.9115
Epoch 936/1000
30447/30447 [==============================] - 19s - loss: 217.2228 - acc: 0.9165
Epoch 937/1000
30447/30447 [==============================] - 19s - loss: 235.0607 - acc: 0.9150
Epoch 938/1000
30447/30447 [==============================] - 20s - loss: 213.1846 - acc: 0.9139
Epoch 939/1000
30447/30447 [==============================] - 19s - loss: 217.2489 - acc: 0.9103
Epoch 940/1000
30447/30447 [==============================] - 21s - loss: 228.0212 - acc: 0.9125
Epoch 941/1000
30447/30447 [==============================] - 20s - loss: 201.5521 - acc: 0.9134
Epoch 942/1000
30447/30447 [==============================] - 19s - loss: 228.5822 - acc: 0.9142
Epoch 943/1000
30447/30447 [==============================] - 20s - loss: 210.4850 - acc: 0.9166
Epoch 944/1000
30447/30447 [==============================] - 20s - loss: 218.2570 - acc: 0.9171
Epoch 945/1000
30447/30447 [==============================] - 19s - loss: 212.4496 - acc: 0.9141
Epoch 946/1000
30447/30447 [==============================] - 17s - loss: 217.4767 - acc: 0.9140
Epoch 947/1000
30447/30447 [==============================] - 13s - loss: 231.3010 - acc: 0.9145
Epoch 948/1000
30447/30447 [==============================] - 12s - loss: 233.3586 - acc: 0.9073
Epoch 949/1000
30447/30447 [==============================] - 12s - loss: 209.2839 - acc: 0.9164
Epoch 950/1000
30447/30447 [==============================] - 12s - loss: 235.1487 - acc: 0.9121
Epoch 951/1000
30447/30447 [==============================] - 12s - loss: 229.9993 - acc: 0.9133
Epoch 952/1000
30447/30447 [==============================] - 12s - loss: 216.9778 - acc: 0.9127
Epoch 953/1000
30447/30447 [==============================] - 12s - loss: 213.6294 - acc: 0.9136
Epoch 954/1000
30447/30447 [==============================] - 12s - loss: 218.8689 - acc: 0.9084
Epoch 955/1000
30447/30447 [==============================] - 13s - loss: 210.6060 - acc: 0.9139
Epoch 956/1000
30447/30447 [==============================] - 12s - loss: 204.3639 - acc: 0.9157
Epoch 957/1000
30447/30447 [==============================] - 12s - loss: 216.0316 - acc: 0.9155
Epoch 958/1000
30447/30447 [==============================] - 13s - loss: 236.0948 - acc: 0.9113
Epoch 959/1000
30447/30447 [==============================] - 14s - loss: 215.4827 - acc: 0.9175
Epoch 960/1000
30447/30447 [==============================] - 12s - loss: 230.6990 - acc: 0.9156
Epoch 961/1000
30447/30447 [==============================] - 12s - loss: 219.4773 - acc: 0.9139
Epoch 962/1000
30447/30447 [==============================] - 12s - loss: 217.8983 - acc: 0.9145
Epoch 963/1000
30447/30447 [==============================] - 16s - loss: 224.4089 - acc: 0.9131
Epoch 964/1000
30447/30447 [==============================] - 12s - loss: 211.6821 - acc: 0.9142
Epoch 965/1000
30447/30447 [==============================] - 12s - loss: 215.5956 - acc: 0.9141
Epoch 966/1000
30447/30447 [==============================] - 12s - loss: 214.6636 - acc: 0.9125
Epoch 967/1000
30447/30447 [==============================] - 12s - loss: 234.2491 - acc: 0.9115
Epoch 968/1000
30447/30447 [==============================] - 13s - loss: 212.3683 - acc: 0.9157
Epoch 969/1000
30447/30447 [==============================] - 12s - loss: 210.6271 - acc: 0.9148
Epoch 970/1000
30447/30447 [==============================] - 12s - loss: 225.6141 - acc: 0.9138
Epoch 971/1000
30447/30447 [==============================] - 12s - loss: 206.1199 - acc: 0.9129
Epoch 972/1000
30447/30447 [==============================] - 12s - loss: 233.1187 - acc: 0.9131
Epoch 973/1000
30447/30447 [==============================] - 12s - loss: 239.6154 - acc: 0.9150
Epoch 974/1000
30447/30447 [==============================] - 12s - loss: 198.3444 - acc: 0.9130
Epoch 975/1000
30447/30447 [==============================] - 12s - loss: 221.2391 - acc: 0.9099
Epoch 976/1000
30447/30447 [==============================] - 12s - loss: 231.0147 - acc: 0.9138
Epoch 977/1000
30447/30447 [==============================] - 12s - loss: 213.3619 - acc: 0.9118
Epoch 978/1000
30447/30447 [==============================] - 12s - loss: 214.8586 - acc: 0.9135
Epoch 979/1000
30447/30447 [==============================] - 12s - loss: 198.1421 - acc: 0.9152
Epoch 980/1000
30447/30447 [==============================] - 12s - loss: 224.9380 - acc: 0.9161
Epoch 981/1000
30447/30447 [==============================] - 12s - loss: 211.5410 - acc: 0.9161
Epoch 982/1000
30447/30447 [==============================] - 13s - loss: 172.6535 - acc: 0.9195
Epoch 983/1000
30447/30447 [==============================] - 13s - loss: 206.5531 - acc: 0.9160
Epoch 984/1000
30447/30447 [==============================] - 13s - loss: 227.0726 - acc: 0.9165
Epoch 985/1000
30447/30447 [==============================] - 12s - loss: 209.9835 - acc: 0.9153
Epoch 986/1000
30447/30447 [==============================] - 12s - loss: 212.8374 - acc: 0.9161
Epoch 987/1000
30447/30447 [==============================] - 13s - loss: 227.7621 - acc: 0.9150
Epoch 988/1000
30447/30447 [==============================] - 12s - loss: 214.8373 - acc: 0.9158
Epoch 989/1000
30447/30447 [==============================] - 12s - loss: 220.8687 - acc: 0.9146
Epoch 990/1000
30447/30447 [==============================] - 12s - loss: 214.0986 - acc: 0.9096
Epoch 991/1000
30447/30447 [==============================] - 12s - loss: 199.9003 - acc: 0.9139
Epoch 992/1000
30447/30447 [==============================] - 12s - loss: 218.0657 - acc: 0.9138
Epoch 993/1000
30447/30447 [==============================] - 12s - loss: 211.4554 - acc: 0.9132
Epoch 994/1000
30447/30447 [==============================] - 12s - loss: 199.4233 - acc: 0.9156
Epoch 995/1000
30447/30447 [==============================] - 12s - loss: 198.2569 - acc: 0.9138
Epoch 996/1000
30447/30447 [==============================] - 12s - loss: 219.6621 - acc: 0.9156
Epoch 997/1000
30447/30447 [==============================] - 12s - loss: 231.1333 - acc: 0.9138
Epoch 998/1000
30447/30447 [==============================] - 12s - loss: 213.8869 - acc: 0.9170
Epoch 999/1000
30447/30447 [==============================] - 12s - loss: 215.9076 - acc: 0.9130
Epoch 1000/1000
30447/30447 [==============================] - 12s - loss: 217.6785 - acc: 0.9154
Mona Lisa by DL
In [5]:
plt.imshow(im_out)
plt.show()
In [6]:
# summarize history for accuracy
plt.plot(history.history['acc'], 'b')
plt.title('Model Accuracy')
plt.xlabel('epoch')
plt.show()
In [7]:
# summarize history for loss
plt.plot(history.history['loss'], 'r')
plt.title('Model Loss')
plt.xlabel('epoch')
plt.show()
Several test were made in order to achieve the presented result. Optimization methods play an important role in the image out quality. In this case I decided to use Nadam optimizer (Much like Adam is essentially RMSprop with momentum, Nadam is Adam RMSprop with Nesterov momentum.) and the result out ligued results from other optimizers such at Adam itself, RMSprop, Adagrad, Adadelta adn SDG. The numer of neurons and layers used on the model with a uniform init played an important role on the speed of the script as well as the quality of the output.
Content source: shugert/DeepLearning
Similar notebooks: